Exemplo n.º 1
0
 public SqlServerInsertValuesCommand(IServiceProvider serviceProvider, SqlServerInsertValuesCommand <TColumns> command)
     : base(serviceProvider, ((IWrapper <InsertClause <TColumns> >)command).Value, ((IWrapper <OnConflictClause>)command).Value)
 {
     SqlServerOutputClause = serviceProvider.GetRequiredService <SqlServerOutputClause <TResult> >();
     valuesClause          = command.ValuesClause;
 }
Exemplo n.º 2
0
 public SqlServerInsertValuesCommand <TColumns, TResult> Create <TColumns, TResult>(IServiceProvider serviceProvider, SqlServerInsertValuesCommand <TColumns> command, Expression <Func <TResult> > expression)
 {
     return(new SqlServerInsertValuesCommand <TColumns, TResult>(serviceProvider, command));
 }