public SqlTableSource(ISqlTableSource source, string? alias, params SqlJoinedTable[]? joins) { Source = source ?? throw new ArgumentNullException(nameof(source)); _alias = alias; if (joins != null) Joins.AddRange(joins); }
public SqlTableSource(ISqlTableSource source, string alias, IEnumerable <SqlJoinedTable> joins) { Source = source ?? throw new ArgumentNullException(nameof(source)); _alias = alias; if (joins != null) { Joins.AddRange(joins); } }
public SqlTableSource(ISqlTableSource source, string? alias, IEnumerable<SqlJoinedTable> joins, IEnumerable<ISqlExpression[]>? uniqueKeys) { Source = source ?? throw new ArgumentNullException(nameof(source)); _alias = alias; if (joins != null) Joins.AddRange(joins); if (uniqueKeys != null) UniqueKeys.AddRange(uniqueKeys); }
public SqlTable(SqlTable table, IEnumerable <SqlField> fields, IEnumerable <Join> joins) : this(table.MappingSchema) { _alias = table._alias; _database = table._database; _owner = table._owner; _name = table._name; _physicalName = table._physicalName; _objectType = table._objectType; Fields.AddRange(fields); Joins.AddRange(joins); }
public SqlTable(SqlTable table, IEnumerable <SqlField> fields, IEnumerable <Join> joins, ISqlExpression[] tableArguments) : this() { Alias = table.Alias; Database = table.Database; Owner = table.Owner; Name = table.Name; PhysicalName = table.PhysicalName; ObjectType = table.ObjectType; _sequenceAttributes = table._sequenceAttributes; Fields.AddRange(fields); Joins.AddRange(joins); SqlTableType = table.SqlTableType; TableArguments = tableArguments; }