internal InsertValue(SpryInsert <TDto> spry, SpryInsertTable <TDto> table) { _spry = spry; _table = table; _insertColumnBuilder = new StringBuilder(); _insertValueBuilder = new StringBuilder(); _parameters = table.Parameters; }
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)); }
public SpryInsertTable(string tableName, string schema, SpryInsert <TDto> spry) : base(tableName, schema) { _spry = spry; }