Exemple #1
0
 internal InsertValue(SpryInsert <TDto> spry, SpryInsertTable <TDto> table)
 {
     _spry  = spry;
     _table = table;
     _insertColumnBuilder = new StringBuilder();
     _insertValueBuilder  = new StringBuilder();
     _parameters          = table.Parameters;
 }
Exemple #2
0
        public static InsertValue <TDto> Insert(string tableName, string dbSchema)
        {
            var spry = new SpryInsert <TDto>
            {
                _table    = tableName,
                _dbSchema = dbSchema,
            };

            spry._spryTable = new SpryInsertTable <TDto>(tableName, dbSchema, spry);
            return(spry._value = new InsertValue <TDto>(spry, spry._spryTable));
        }
Exemple #3
0
 public SpryInsertTable(string tableName, string schema, SpryInsert <TDto> spry)
     : base(tableName, schema)
 {
     _spry = spry;
 }