public static Task <int> InsertAsync <T>(this SqliteSessionBase session, T item, ConflictResolution extra) { return(Task.Factory.StartNew( () => { using (session.Lock()) { return session.Insert(item, extra); } })); }
public static Task <int> InsertAsync <T>(this SqliteSessionBase session, T item, ConflictResolution extra) { return(Task.Factory.StartNew( () => { using (session.Lock()) { return session.Insert(item, extra); } })); }