Monthly Archives: May 2008

Entity Cloner

I do an EntityCloner which can Clone an entity single or all the graph from one entity. To clone an entity, I use reflection but the problem of Reflection is it’s far. The way to Clone a product is always the … Continue reading

Posted in 7671, 7672, 7673, 7674 | 15 Comments

EFLazyLoading

Jarek Kowalski published a new post that describes EFLazyLoading library.

Posted in 7671, 7674 | Leave a comment

Entity Framework V2, what do you want?

John Papa opened a new msdn forum thread to say what he wants for EF v2. If you have some ideas for EF V2, add a comment.

Posted in 7671, 7674, 7675 | Leave a comment

Entity Data Model: Big visibility impovement

Until last version, EDM didn’t allow to choose EntitySets visibility (so public) neither EntityTypes and limited the EntityType properties get and set to public or private. Since VS 2008 SP1 Beta, we can choose EntitySets visibility between private, protected, internal and public. It’s the same for EntityType properties. For EntityTypes, we can now … Continue reading

Posted in 7671, 7674, 7675 | Leave a comment

Entity Framework: How Referential Integrity Works?

There is a very interesting article about EF referential integrity here.

Posted in 7671, 7674 | Leave a comment

What do you think about private and protected?

I think it should be a great thing to have two notions: class private and instance private (and the same for protected). In my mind, in a lot of case, I shouldn’t be able to do this: class C1 { … Continue reading

Posted in 7671, 7672, 7673, 7678 | Leave a comment

LINQ To Entities request: as returns null, you can use it regardless

This is probably the same with LINQ To SQL. I did a beginner mistake (see this thread). Indeed, shlomiw uses (b as Derived1).Prop_d1 even if b is not of type Derived1 (and so (b as Derived1) can be nul). And it’s ok! (no exception) Why? In fact it’s easy. The as is translated from … Continue reading

Posted in Uncategorized | Leave a comment

EF FAQ Updated

Daniel Simmons updated EF FAQ. What are the changes? (from Daniel ‘s post) “·         Some minor formatting edits.  ·         Updated: 1.2 Where else should I go to learn more about the EF?   ·         New: 9.3 What does the SelectValue builder method … Continue reading

Posted in 7671, 7674, 7675 | Leave a comment

EF: 2 new videos

Two new videos have been published by ADO .Net team. One by Alex : How Do I Get Started with the Entity Framework? And one by Diego : How Do I Use the new Entity Data Source?

Posted in 7671, 7674, 7675 | Leave a comment

Entity Data Model Mapping: Beyond the Basics

I wrote an article about EDM mapping.

Posted in 7671, 7674, 7675, 7680 | Leave a comment