private InsertOrUpdateCommandBuilderSyntax( IDatabaseDriverRegistry drivers, Expression <InsertSpecificationDelegate <TEntity, TParams> > insert, Expression <OutputSpecificationDelegate <TEntity, TResult> > output, Expression <ColumnSpecificationDelegate <TEntity> > conflictColumns, Expression <UpdateSpecificationDelegate <TEntity, TParams> > update, Expression <PredicateSpecificationDelegate <TEntity, TParams> > updatePredicate ) { this.drivers = drivers; this.insert = insert; this.output = output; this.conflictColumns = conflictColumns; this.update = update; this.updatePredicate = updatePredicate; }
public DeleteCommandBuilderSyntax(IDatabaseDriverRegistry drivers, Expression <PredicateSpecificationDelegate <TEntity, TParams> > predicate) { this.drivers = drivers; this.predicate = predicate; }
public InsertOrUpdateCommandBuilderSyntax(IDatabaseDriverRegistry drivers, Expression <UpdateSpecificationDelegate <TEntity, TParams> > update) { this.drivers = drivers; this.update = update; }
public InsertOrUpdateCommandBuilderSyntax(IDatabaseDriverRegistry drivers, Expression <InsertSpecificationDelegate <TEntity, TParams> > insert) { this.drivers = drivers; this.insert = insert; }
public CommandBuilderSyntax(IDatabaseDriverRegistry drivers) { this.drivers = drivers; }
/// <summary> /// Initializes a new instance of <see cref="DirectSqlCommandBuilder" /> using the specified database drivers. /// </summary> /// <param name="drivers">The database drivers that should be used.</param> public DirectSqlCommandBuilder(IDatabaseDriverRegistry drivers) { this.drivers = drivers ?? throw new ArgumentNullException(nameof(drivers)); }