Пример #1
0
 public SimpleQuery LeftJoin(ObjectReference objectReference, out dynamic queryObjectReference)
 {
     return(OuterJoin(objectReference, out queryObjectReference));
 }
Пример #2
0
 private static SimpleExpression CriteriaPairToExpression(ObjectReference table, KeyValuePair <string, object> pair)
 {
     return(new SimpleExpression(new ObjectReference(pair.Key, table), pair.Value, SimpleExpressionType.Equal));
 }
Пример #3
0
 public SimpleQuery Join(ObjectReference objectReference, out dynamic queryObjectReference)
 {
     return(Join(objectReference, JoinType.Inner, out queryObjectReference));
 }
Пример #4
0
 public SimpleQuery LeftJoin(ObjectReference objectReference)
 {
     return(OuterJoin(objectReference));
 }
Пример #5
0
 public SimpleQuery With(ObjectReference reference, out dynamic queryObjectReference)
 {
     queryObjectReference = reference;
     return(With(new[] { reference }));
 }
Пример #6
0
 public SimpleQuery WithMany(ObjectReference reference, out dynamic queryObjectReference)
 {
     queryObjectReference = reference;
     return(With(new[] { reference }, WithType.Many));
 }
Пример #7
0
        public SimpleQuery ThenBy(ObjectReference reference, OrderByDirection?direction = null)
        {
            ThrowIfNoOrderByClause("ThenBy requires an existing OrderBy");

            return(new SimpleQuery(this, _clauses.Append(new OrderByClause(reference, direction))));
        }
Пример #8
0
 public SimpleQuery OrderByDescending(ObjectReference reference)
 {
     return(new SimpleQuery(this, _clauses.Append(new OrderByClause(reference, OrderByDirection.Descending))));
 }
Пример #9
0
 public SimpleQuery OrderBy(ObjectReference reference, OrderByDirection?direction = null)
 {
     return(new SimpleQuery(this, _clauses.Append(new OrderByClause(reference, direction))));
 }
Пример #10
0
 public JoinClause(ObjectReference table, SimpleExpression joinExpression) : this(table, JoinType.Inner, joinExpression)
 {
 }
Пример #11
0
 public JoinClause(ObjectReference table, JoinType joinType) : this(table, joinType, null)
 {
 }