public AnyStatement(Identifier identifier, Sequence<Expression> expressions) {
			using (StringWriter stringWriter = new StringWriter()) {
				SqlWriter statementWriter = new SqlWriter(stringWriter, DatabaseEngine.Unknown);
				statementWriter.WriteIdentifier(identifier.Value);
				statementWriter.WriteScriptSequence(expressions, WhitespacePadding.SpaceBefore, null);
				statementText = stringWriter.ToString();
			}
		}
		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;
		}
Beispiel #3
0
		public MethodName(Identifier identifier): this(identifier.Value) {}
		public FunctionName(Identifier identifier): this(identifier.Value) {}
		public ProcedureName(Identifier identifier): this(identifier.Value) {}
		public SqlAssemblyName(Identifier identifier): this(identifier.Value) {}
Beispiel #7
0
		public ClassName(Identifier identifier): this(identifier.Value) {}
		protected IndexOption(Identifier key) {
			Debug.Assert(key != null);
			this.key = key;
		}
		public XmlDirective(Identifier key, Optional<StringLiteral> elementName): this(key) {
			this.elementName = elementName;
		}
Beispiel #10
0
		public SchemaName(Identifier identifier): this(identifier.Value) {}
		public WaitforStatement(Identifier identifier, SqlScriptableToken stringValue) {
			Debug.Assert(identifier != null);
			Debug.Assert(stringValue != null);
			this.identifier = identifier;
			this.stringValue = stringValue;
		}
		public ConstraintName(Identifier identifier): base(identifier.Value) {}
		public XmlSchemaCollectionName(Identifier identifier): this(identifier.Value) {}
Beispiel #14
0
		public ObjectName(Identifier identifier): this(identifier.Value) {}
		public CollationName(Identifier identifier): this(identifier.Value) {}
Beispiel #16
0
		public CursorName(Identifier identifier): this(identifier.Value, false, true) {}
		public XmlDirective(Identifier key, Identifier value): this(key) {
			this.value = value;
		}
		public XmlNamespaceName(Identifier identifier): base(identifier.Value) {}
		private XmlDirective(Identifier key) {
			Debug.Assert(key != null);
			this.key = key;
		}
Beispiel #20
0
		public ColumnName(Identifier identifier): this(identifier.Value) {}
		public TransactionName(Identifier name): base(name.Value) {}
Beispiel #22
0
		public AliasName(Identifier identifier): base(identifier.Value) {}
		public IndexOptionToggle(Identifier key, ToggleToken value): base(key) {
			Debug.Assert(value != null);
			this.value = value.On;
		}
		public IndexOptionNumeric(Identifier key, IntegerLiteral value): base(key) {
			Debug.Assert(value != null);
			this.value = value;
		}
Beispiel #25
0
		public LabelName(Identifier identifier): base(identifier.Value) {}
Beispiel #26
0
		public Label(Identifier identifier) {
			this.identifier = identifier.Value;
		}
Beispiel #27
0
		public TriggerName(Identifier identifier): this(identifier.Value) {}
Beispiel #28
0
		public IndexName(Identifier identifier): this(identifier.Value) {}