public SqliteTableInsert( SqliteTable <T> table, SqliteDatabase database, ConflictResolution conflictResolution = ConflictResolution.Default) { _table = table; var sql = table.InsertSql(1, conflictResolution); _statement = database.Prepare(sql); }
public static IEnumerable <T> Values <T>(this SqliteTable <T> table, SqliteDatabase database) where T : class, new() { return(table.Values(database, () => new T())); }
public static IEnumerable <KeyValuePair <long, T> > ValuesWithRowId <T>(this SqliteTable <T> table, SqliteDatabase database) where T : class, new() { return(table.ValuesWithRowId(database, () => new T())); }