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

            this.Value = value;
        }
예제 #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));
 }
예제 #5
0
 public static SqlStringPathExpression Create(SqlPathExpression parentPath, SqlStringLiteral value)
 {
     return(new SqlStringPathExpression(parentPath, value));
 }
예제 #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;
 }
예제 #9
0
 protected SqlPathExpression(SqlObjectKind kind, SqlPathExpression parentPath)
     : base(kind)
 {
     this.ParentPath = parentPath;
 }