private SqlJoinCollectionExpression(
     SqlCollectionExpression leftExpression,
     SqlCollectionExpression rightExpression)
     : base(SqlObjectKind.JoinCollectionExpression)
 {
     this.LeftExpression  = leftExpression;
     this.RightExpression = rightExpression;
 }
Example #2
0
        private SqlFromClause(SqlCollectionExpression expression)
            : base(SqlObjectKind.FromClause)
        {
            if (expression == null)
            {
                throw new ArgumentNullException("expression");
            }

            this.Expression = expression;
        }
Example #3
0
 public static SqlFromClause Create(SqlCollectionExpression expression)
 {
     return(new SqlFromClause(expression));
 }
 public static SqlJoinCollectionExpression Create(
     SqlCollectionExpression leftExpression,
     SqlCollectionExpression rightExpression)
 {
     return(new SqlJoinCollectionExpression(leftExpression, rightExpression));
 }