Quantcast
Channel: entityframework Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1793

New Post: StorageMappingItemCollection cannot locate correct entity container GetEntityContainer

$
0
0

I need EntityContainer, so I can get to other properties and collections of mapping. The only way I can get it is by name, the iterator for EdmItemCollection obviously give EdmItem which doesn't have entity to table and column to field mapping the ultimate goal is to write BulkInsert/Update/Delete extension method for DbContext since it's so slow to do so singly.

I wrote t4 template that does it and it works excellent, but maintaining it - is a kind of a pain (with custom xml/edmx parser included), which became obvious when I had to move from ObjectContext to DbContext (also now seeing how slow .Entries method and any DetectChanges involved method works, I might need to move back).


Viewing all articles
Browse latest Browse all 1793

Trending Articles



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