Esempio n. 1
0
 public void ConnectionTest()
 {
     var connection = new Microsoft.Data.Sqlite.SqliteConnection(conString);
     var dapper     = connection.GetDapperDbContext();
     var d          = new UserContext();
     var a1         = d.Database.GetDbConnection().GetDapperDbContext();
     var u1         = d.User.FirstOrDefault(x => x.Id == 1);
 }