Monthly Archives: May 2010

Bulk delete v4

In my previous post, I realized a Proof Of Concept to validate Bulk Delete feasibility for each mapping scenarios. Danny found a bug in SaveChanges method:        public override int SaveChanges(SaveOptions options)     {         int value;         using (TransactionScope transaction = … Continue reading

Posted in 7671, 7674 | 3 Comments

Bulk Delete v3

In my last two posts (Bulk Delete with EF4 and Bulk Delete only for loaded entities), I showed you how to do Bulk delete with EF4. However, there are some issues that I will try to fix with this new … Continue reading

Posted in 7671, 7674, 7675, 9104 | 4 Comments

Bulk Delete only for loaded entities

Update: I made a new version here. In my previous post, I showed you how to do Bulk Update with EF4. What was very cool with my solution is the fact that we don’t have to load entities to delete … Continue reading

Posted in 7671, 7674 | 2 Comments

Bulk Delete with EF4

Update: I made a new version here. EF4 doesn’t support neither Bulk Delete nor Bulk Update. So to delete all records in a table T, we first have to load every entity mapped on this table, to delete all of … Continue reading

Posted in 7671, 7674 | 3 Comments

Include IEnumerable in LINQ To Entities queries

Imagine the following scenario based on Northwind. For a customer I want to get his orders validity. I have an order collection and I want to know if there are some new orders, if some orders were deleted on the … Continue reading

Posted in 12253, 7671, 7674 | Leave a comment

EDM videos

I’m very happy to announce you the publication of 5 videos I made on http://msdn.microsoft.com/en-us/data/videos.aspx. Conceptual, Storage, and Mapping Layers and Their Relationships Inheritance Mapping Scenarios Splitting Scenarios Modeling Complex Types Custom Mapping With SSDL I want to particularly thank … Continue reading

Posted in 7671, 7674, 7675 | Leave a comment