public ExpressionColumnFunctionCalls(TableName tableName, ColumnName columnName, Sequence<NamedFunction> functions): base(functions.Item, functions.Next) {
			Debug.Assert(tableName != null);
			Debug.Assert(columnName != null);
			columnNameQualified = new Qualified<TableName, ColumnName>(tableName, columnName);
			Debug.Assert(!functions.Item.FunctionName.IsQualified);
			functions.Item.FunctionName.LockOverride();
		}
		private SourceRemoteTableRowset(string serverName, string databaseName, SchemaName schemaName, TableName tableName, RowsetAlias rowsetAlias): base(rowsetAlias) {
			Debug.Assert(tableName != null);
			if (!string.IsNullOrEmpty(serverName)) {
				this.serverName = new Identifier(serverName);
			}
			this.databaseName = new Identifier(databaseName);
			this.schemaName = schemaName;
			this.tableName = tableName;
		}
 public void CompareToSmaller()
 {
     SqlName x = new TableName("xyz");
     SqlName y = new TableName("abc");
     Expect(x.CompareTo(y), GreaterThan(0));
 }
 public void CompareToSimilar()
 {
     SqlName x = new TableName("abc");
     SqlName y = new CollationName("abc");
     Expect(x.CompareTo(y), GreaterThan(0));
 }
 public void CompareToSelf()
 {
     SqlName x = new TableName("abc");
     Expect(x.CompareTo(x), EqualTo(0));
 }
 public void CompareToNull()
 {
     SqlName x = new TableName("abc");
     Expect(x.CompareTo(null), GreaterThan(0));
 }
 public void CompareToLarger()
 {
     SqlName x = new TableName("abc");
     SqlName y = new TableName("xyz");
     Expect(x.CompareTo(y), LessThan(0));
 }
		public SourceRemoteTableRowset(SchemaName serverName, TableName databaseName, SchemaName schemaName, TableName tableName, RowsetAlias rowsetAlias): this(serverName.Value, databaseName.Value, schemaName, tableName, rowsetAlias) {}
		public SourceTableColumnNodesRowset(SchemaName tableName, TableName columnName, NamedFunction functionCall, RowsetAlias rowsetAlias): this(new Qualified<SchemaName, TableName>(null, new TableName(tableName.Value)), new ColumnName(columnName.Value), functionCall, rowsetAlias) {
			tableNameQualified.LockOverride(); // TableName here is usually an alias to a table, so don't prefix this
		}
 public void EqualsToSimilar()
 {
     SqlName x = new TableName("abc");
     SqlName y = new CollationName("abc");
     Expect(x.Equals(y), False);
 }
 public void EqualsToSelf()
 {
     SqlName x = new TableName("abc");
     Expect(x.Equals(x), True);
 }
 public void EqualsToNull()
 {
     SqlName x = new TableName("abc");
     Expect(x.Equals(null), False);
 }
 public void EqualsToIdentical()
 {
     SqlName x = new TableName("abc");
     SqlName y = new TableName("abc");
     Expect(x.Equals(y), True);
 }
 public void EqualsToEquivalent()
 {
     SqlName x = new TableName("abc");
     SqlName y = new TableName("ABC");
     Expect(x.Equals(y), True);
 }
		public UpdateMethodItem(TableName tableName, ColumnName columnName, Sequence<NamedFunction> methods): this(null, new Qualified<SqlName, ColumnName>(tableName, columnName), methods) {}
 public void EqualsToDifferent()
 {
     SqlName x = new TableName("abc");
     SqlName y = new TableName("xyz");
     Expect(x.Equals(y), False);
 }
 public void CompareToEquivalent()
 {
     SqlName x = new TableName("abc");
     SqlName y = new TableName("ABC");
     Expect(x.CompareTo(y), EqualTo(0));
 }
 public void CompareToIdentical()
 {
     SqlName x = new TableName("abc");
     SqlName y = new TableName("abc");
     Expect(x.CompareTo(y), EqualTo(0));
 }
		public ExpressionFunctionCalls(TableName schemaName, Sequence<NamedFunction> functions): this(functions.Item.QualifiedWith(schemaName), functions.Next) {}
		public SourceRemoteTableRowset(SchemaName databaseName, TableName schemaName, TableName tableName, RowsetAlias rowsetAlias): this(string.Empty, databaseName.Value, new SchemaName(schemaName.Value), tableName, rowsetAlias) {}