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

New Post: EF5 + How to save an entity with its child entities at the same time to the database?

$
0
0

Hi seevali,

If all the entities are being tracked by a context, then calling SaveChanges on that context will save all the entities. if this is not working for you can you provide additional information on what errors/behaviors you are seeing?

Thanks,
Arthur


Viewing all articles
Browse latest Browse all 10318

Trending Articles



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