Example #1
0
        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));
 }
Example #3
0
 public abstract IDbCommandStruct <T> CreateCommand <T>(string name, DbCommandMode mode, IEnumerable <SqlExpression>?columns = null);
Example #4
0
 public MsSqlDbCommandStruct(string name, DbCommandMode mode, IEnumerable <SqlExpression>?columns = null)
     : base(name, mode, columns)
 {
 }