Exemple #1
0
 public Task <int> ClearTableAsync <T>() where T : new()
 {
     return(Task.Factory.StartNew(
                () =>
     {
         SqliteSession conn = this.GetAsyncConnection();
         using (conn.Lock())
         {
             return conn.ClearTable <T>();
         }
     }));
 }