public static Task <int> CreateTableAsync <T>(this SqliteSessionBase session, bool createIndexes = true) where T : new() { return(Task <int> .Factory.StartNew( () => { using (session.Lock()) { return session.CreateTable <T>(createIndexes); } })); }
public static Task <int> CreateTableAsync <T>(this SqliteSessionBase session, bool createIndexes = true) where T : new() { return(Task <int> .Factory.StartNew( () => { using (session.Lock()) { return session.CreateTable <T>(createIndexes); } })); }