double filter on GetAllWithChildren
Issue #143
resolved
Hi all,
please forgive me for my newbbie question.
i’ve got this query:
public List<myType> GetAll(int fav, int type)
{
return dbConnection.GetAllWithChildren<myType>(t => t.fav == fav);
}
i need to filter the result for two parameter, fav and type, is possible?
(like t => t.fav == fav
and t => t.type == type)
thanks all
Comments (3)
-
-
reporter it works, thanks so much
-
reporter - changed status to resolved
- Log in to comment
Have you tried this?
t => t.fav == fav && t.type == type