Beispiel #1
0
 public Task <int> InsertDefaultsAsync <T>()
     where T : class
 {
     return(Task.Factory.StartNew(
                () =>
     {
         SqliteSession conn = this.GetAsyncConnection();
         using (conn.Lock())
         {
             return conn.InsertDefaults <T>();
         }
     }));
 }