I have this entities:
MyEntityA
{
long IDEntityA;
List<EntityB> lstEntityB;
.... (other properties);
}
MyEntityB
{
long IDEntityB;
string Name;
.... (other properties)
}
List<long> lstIDsEntitiesB; //this list has many IDs of entities B.
I would like to get all the entities A which property lstEntitiesB has one or more entities which ID is on lstIDsEntitiesB.
I don't know if I have to use a join or there are any other way, perhaps with any or contains.
Thanks so much.