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

New Comment on "Support of POCO entities with custom Equals and GetHashCode implementations"

$
0
0
I don't understand the text: you're saying that EF will support enities with custom Equals and GetHashCode, but then you say that EF will use default implementation. So basically EF will ignore any custom Equals and GetHashCode methods? More importantly should - should we still use our custom base entity class for comparison entites by Id and custome ValueObject base class for comparison immutable value objects by their property values? Or EF will do it by default, meaning two different entity objects instances with the same key will be equal (==) without any custom code written? And the same goes with value objects? Or we still have to use our custom comparison implementation in base classes (like in NHibernate)?

Viewing all articles
Browse latest Browse all 10318

Trending Articles