public SqlRawSqlTable(SqlRawSqlTable table, ISqlExpression[] parameters) { Alias = table.Alias; Server = table.Server; Database = table.Database; Schema = table.Schema; PhysicalName = table.PhysicalName; ObjectType = table.ObjectType; SequenceAttributes = table.SequenceAttributes; SQL = table.SQL; Parameters = parameters; }
public SqlRawSqlTable(SqlRawSqlTable table, IEnumerable <SqlField> fields, ISqlExpression[] parameters) { Alias = table.Alias; Database = table.Database; Schema = table.Schema; PhysicalName = table.PhysicalName; ObjectType = table.ObjectType; SequenceAttributes = table.SequenceAttributes; SQL = table.SQL; Parameters = parameters; AddRange(fields); }
void VisitX(SqlRawSqlTable table) { Visit(table.All); foreach (var field in table.Fields) { Visit(field); } if (table.Parameters != null) { foreach (var a in table.Parameters) { Visit(a); } } }