private SqlInputPathCollection(
     SqlIdentifier input,
     SqlPathExpression relativePath)
 {
     this.Input        = input ?? throw new ArgumentNullException(nameof(input));
     this.RelativePath = relativePath;
 }
 public static SqlIdentifierPathExpression Create(
     SqlPathExpression parentPath,
     SqlIdentifier value) => new SqlIdentifierPathExpression(parentPath, value);
 private SqlIdentifierPathExpression(SqlPathExpression parentPath, SqlIdentifier value)
     : base(parentPath)
 {
     this.Value = value ?? throw new ArgumentNullException(nameof(value));
 }
Example #4
0
 public static SqlStringPathExpression Create(
     SqlPathExpression parentPath,
     SqlStringLiteral value) => new SqlStringPathExpression(parentPath, value);
Example #5
0
 private SqlStringPathExpression(SqlPathExpression parentPath, SqlStringLiteral value)
     : base(parentPath)
 {
     this.Value = value ?? throw new ArgumentNullException(nameof(value));
 }
Example #6
0
 protected SqlPathExpression(SqlPathExpression parentPath)
 {
     this.ParentPath = parentPath;
 }
 public static SqlInputPathCollection Create(
     SqlIdentifier input,
     SqlPathExpression relativePath) => new SqlInputPathCollection(input, relativePath);
 public static SqlNumberPathExpression Create(
     SqlPathExpression parentPath,
     SqlNumberLiteral value) => new SqlNumberPathExpression(parentPath, value);
 private SqlNumberPathExpression(SqlPathExpression parentPath, SqlNumberLiteral value)
     : base(parentPath)
 {
     this.Value = value;
 }