Open Draym opened 6 years ago
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?
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?