You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just started to use Simple.Data but i can't make it works.
When I do a connection to my db and then :
var db = Database.OpenConnection("...");
User obj = new User();
var result = db.User.Insert(obj);
result is a type of InserAwaitable and not User type. Also there is no new row in my DB.
Did i forget to do something? what should i do with this InsertAwaitable?
The text was updated successfully, but these errors were encountered:
Draym
changed the title
Insert do not return a row but InserAwaitable object and nothing is saved in DB
Insert do not return a row but InsertAwaitable object and nothing is saved in DB
Jul 30, 2018
Hello,
I have just started to use Simple.Data but i can't make it works.
When I do a connection to my db and then :
var db = Database.OpenConnection("...");
User obj = new User();
var result = db.User.Insert(obj);
result is a type of InserAwaitable and not User type. Also there is no new row in my DB.
Did i forget to do something? what should i do with this InsertAwaitable?
The text was updated successfully, but these errors were encountered: