Beispiel #1
0
 public static IDatabaseQuery <T> WhereNotIn <T, K>(this IDatabaseQuery <T> query, Expression <Func <T, object> > property,
                                                    IDatabaseQuery <K> subquery, Expression <Func <K, object> > targetProperty)
     where T : IEntity
     where K : IEntity
 {
     return((IDatabaseQuery <T>)query.WhereNotIn(property.GetPropertyPath(),
                                                 subquery, targetProperty.GetPropertyPath()));
 }
Beispiel #2
0
 public static IDatabaseQuery <T> WhereNotIn <T>(this IDatabaseQuery <T> query, Expression <Func <T, object> > property, IDatabaseQuery subquery, string targetField)
     where T : IEntity
 {
     return((IDatabaseQuery <T>)query.WhereNotIn(property.GetPropertyPath(), subquery, targetField));
 }