see attachment for description.<br />the result should map for GetAllPersonsOfTypeAndIncludeAddressWithZipCodeAs98001<br />this SP is essentially a workaround to beat what EF cannot do:<br />db.Persons.Include(a=>a.Addresses.Any(x=>x.ZipCode=98001)).Where(a=>a.CustomerType=5)<br />but, EF cannot map a SP output to an entity graph, i.e. Parent and add Child Collections when included.
↧
Edited Issue: Enable StoredProcedure import to use convention based import of an object graph [737]
↧