Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Edited Issue: Enable StoredProcedure import to use convention based import of an object graph [737]

$
0
0
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.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>