I'm wanting to be able to define an abstract base class and provide selection from it.
For instance:
var youngAnimals = unitOfWork.Animals.Where(x => x.Age < 5);
Where youngAnimals will be the correct subtype. Currently I can only do this if I define Animals as a concrete class.
refer: http://www.mindscapehq.com/forums/thread/353574
Status: New
|