You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found my answer : add System.Linq.Queryable public static class UserExtensions { public static IQueryable<User> AreActives(this IQueryable<User> query){ return query.Where(u=>u.IsActive()); } }
Hi,
Imagine this query:
var query = context.Users.Where(u=>u.IsActive()); //Using Nein-Linq
i would like to do:
var query = context.Users.AreActives();
with
public static class UserExtensions { public static IQueryable<User> AreActives(this IQueryable<User> query){ return null; //to be completed } }
can you help me to complete my method working with nein-linq please ?
Regards,
AB
The text was updated successfully, but these errors were encountered: