Assume A as object model that have property ID(int) and Status(Bool) and B as object model also have ID(int) and Status(Bool)
And I want get data from A filtered by it's property. if it an sql query like
"select * from A where A.Status=True and A.ID in (Select ID from B Where B.Status=True),
I don't now how to make var C = that query..
var c = A.Where(a=>a.Status==True && a.ID .....) I don't know how to apply "in" here
I'm really new to use C# Entity Framework.