public INonQueryFluentSqlCommand NonQuery() { return(new NonQueryFluentSqlCommand() { CommandType = DefaultCommandType, IsolationLevel = DefaultIsolationLevel, Connection = DefaultConnection?.Invoke(), Transaction = DefaultTransaction?.Invoke() }); }
public IScalarFluentSqlCommand Scalar() { return(new ScalarFluentSqlCommand() { CommandType = DefaultCommandType, IsolationLevel = DefaultIsolationLevel, Connection = DefaultConnection?.Invoke(), Transaction = DefaultTransaction?.Invoke() }); }
public ISingleReaderFluentSqlCommand <T> SingleReader <T>() { return(new SingleReaderFluentSqlCommand <T>() { CommandType = DefaultCommandType, IsolationLevel = DefaultIsolationLevel, Connection = DefaultConnection?.Invoke(), Transaction = DefaultTransaction?.Invoke() }); }
public IReaderFluentSqlCommand <T> Reader <T>() { return(new ReaderFluentSqlCommand <T>() { CommandType = DefaultCommandType, IsolationLevel = DefaultIsolationLevel, Connection = DefaultConnection?.Invoke(), Transaction = DefaultTransaction?.Invoke(), Behavior = DefaultBehavior, Caching = DefaultCachingMode }); }