public DbCommandStruct(string name, DbCommandMode mode, IEnumerable <SqlExpression>?columns = null) { if (name == null) { throw new ArgumentNullException(nameof(name)); } _name = name; _mode = mode; if (columns != null) { _columns.AddRange(columns); } }
public override IDbCommandStruct <T> CreateCommand <T>(string name, DbCommandMode mode, IEnumerable <SqlExpression> columns = null) { return(new MsSqlDbCommandStruct <T>(name, mode, columns)); }
public abstract IDbCommandStruct <T> CreateCommand <T>(string name, DbCommandMode mode, IEnumerable <SqlExpression>?columns = null);
public MsSqlDbCommandStruct(string name, DbCommandMode mode, IEnumerable <SqlExpression>?columns = null) : base(name, mode, columns) { }