Questions tagged [repodb]

4 questions
0
votes
0 answers

RepoDB: "no database setting mapping found" error

I am getting: There is no database setting mapping found for 'System.Data.SqlClient.SqlConnection'. Make sure to install the correct extension library and call the bootstrapper method. although I am calling GlobalConfiguration .Setup() …
IngoB
  • 2,552
  • 1
  • 20
  • 35
0
votes
0 answers

Is there a way to use RepoDB with types from dynamically-(re)compiled assemblies at runtime?

We have a project that watches a folder of C# files and (re)compiles and (re)loads the resulting assembly whenever those files are changed. If I try to use a class in these C# files as a type parameter to RepoDB's Query, or Insert, etc. functions,…
0
votes
2 answers

How to handle varbinary columns in repodb queries?

In a project includes RepoDB, it is used by queries but I have problem with varbinary columns. Dictionary param = new Dictionary(); param.Add("MyContent", myObject.MyContent)); var sql = "INSERT INTO…
Emanuele
  • 648
  • 12
  • 33
0
votes
1 answer

RepoDB doesn't merge correct after altering a column

With RepoDB I: SqlServerBootstrap.Initialize(); using (var cnt = new SqlConnection(connectionString)) { cnt.ExecuteNonQuery("DROP TABLE IF EXISTS example"); cnt.ExecuteNonQuery("CREATE TABLE example(Id int NOT NULL PRIMARY KEY, Data…
Kenneth Bo Christensen
  • 2,256
  • 2
  • 18
  • 21