User1686483761 posted
Hi enedaveyboy,
In different where clauses starting from different entities, I want to look to see if a navigation property has any records with a fairly complex set of condition, becuase I start from different
entities, I want to be able to reuse the same code.
I'm not sure what you mean. If you'd like to reuse the same code for different entities according to your where condition, you could modify yorur method and extension your method , we could pass the table name and other parameters. I'm not sure whether this
is a good way, of course, I also think your idea could be realized. As you say, you could define a navigation property for different entities, we could get the data for different entities.
Best Regards,
sudo