Esempio n. 1
0
        private SqlStringPathExpression(SqlPathExpression parentPath, SqlStringLiteral value)
            : base(SqlObjectKind.StringPathExpression, parentPath)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }

            this.Value = value;
        }
Esempio n. 2
0
        private SqlIdentifierPathExpression(SqlPathExpression parentPath, SqlIdentifier value)
            : base(SqlObjectKind.IdentifierPathExpression, parentPath)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }

            this.Value = value;
        }
        private SqlInputPathCollection(
            SqlIdentifier input,
            SqlPathExpression relativePath)
            : base(SqlObjectKind.InputPathCollection)
        {
            if (input == null)
            {
                throw new ArgumentNullException("input");
            }

            this.Input        = input;
            this.RelativePath = relativePath;
        }
 public static SqlInputPathCollection Create(
     SqlIdentifier input,
     SqlPathExpression relativePath)
 {
     return(new SqlInputPathCollection(input, relativePath));
 }
Esempio n. 5
0
 public static SqlStringPathExpression Create(SqlPathExpression parentPath, SqlStringLiteral value)
 {
     return(new SqlStringPathExpression(parentPath, value));
 }
Esempio n. 6
0
 public static SqlIdentifierPathExpression Create(SqlPathExpression parentPath, SqlIdentifier value)
 {
     return(new SqlIdentifierPathExpression(parentPath, value));
 }
 public static SqlNumberPathExpression Create(SqlPathExpression parentPath, SqlNumberLiteral value)
 {
     return(new SqlNumberPathExpression(parentPath, value));
 }
 private SqlNumberPathExpression(SqlPathExpression parentPath, SqlNumberLiteral value)
     : base(SqlObjectKind.NumberPathExpression, parentPath)
 {
     this.Value = value;
 }
Esempio n. 9
0
 protected SqlPathExpression(SqlObjectKind kind, SqlPathExpression parentPath)
     : base(kind)
 {
     this.ParentPath = parentPath;
 }