コード例 #1
0
 public static DatabaseQuery <T> WhereNotIn <T, K>(this DatabaseQuery <T> query, Expression <Func <T, object> > property,
                                                   DatabaseQuery <K> subquery, Expression <Func <K, object> > targetProperty)
     where T : IEntity
     where K : IEntity
 => (DatabaseQuery <T>)query.WhereNotIn(property.GetPropertyPath(), subquery, targetProperty.GetPropertyPath());
コード例 #2
0
 public static DatabaseQuery <T> WhereNotIn <T>(this DatabaseQuery <T> query, Expression <Func <T, object> > property, DatabaseQuery subquery, string targetField)
     where T : IEntity
 => (DatabaseQuery <T>)query.WhereNotIn(property.GetPropertyPath(), subquery, targetField);