コード例 #1
0
        public SqliteTableInsert(
            SqliteTable <T> table,
            SqliteDatabase database,
            ConflictResolution conflictResolution = ConflictResolution.Default)
        {
            _table = table;

            var sql = table.InsertSql(1, conflictResolution);

            _statement = database.Prepare(sql);
        }
コード例 #2
0
 public static IEnumerable <T> Values <T>(this SqliteTable <T> table, SqliteDatabase database) where T : class, new()
 {
     return(table.Values(database, () => new T()));
 }
コード例 #3
0
 public static IEnumerable <KeyValuePair <long, T> > ValuesWithRowId <T>(this SqliteTable <T> table, SqliteDatabase database) where T : class, new()
 {
     return(table.ValuesWithRowId(database, () => new T()));
 }