Page 1 of 1

EntityFramework Templates GetHashCode and Equals

Posted: Tue 08 Jul 2014 19:26
by wegged
From looking around the forums I can see that the options to create GetHashCode and Equals methods exist for NHibernate templates. But I dont see them in the EntityFramework templates can this be added? As of EF6 it is ok to use custom implementations and I assume it is missing because of this old limitation. (see https://entityframework.codeplex.com/wi ... mentations)


Thanks!

Re: EntityFramework Templates GetHashCode and Equals

Posted: Thu 10 Jul 2014 11:18
by Shalex
Thank you for your suggestion. Please specify the names of Entity Framework templates you are using.
We will notify you when the Implement Equals property of the EF templates is implemented.

Re: EntityFramework Templates GetHashCode and Equals

Posted: Fri 25 Jul 2014 16:38
by wegged
DbContext template.

Thank you.

Re: EntityFramework Templates GetHashCode and Equals

Posted: Mon 11 Aug 2014 18:27
by wegged
Any update on this?

Is it possible, in the mean time to get the NHibernate template so I can try to piece something together?

Thanks

Re: EntityFramework Templates GetHashCode and Equals

Posted: Wed 13 Aug 2014 06:33
by Shalex
The Implement Equals property is added to the DbContext, ObjectContext, and POCO Entity templates. We will notify you when the corresponding build of Entity Developer is available for download.

Re: EntityFramework Templates GetHashCode and Equals

Posted: Thu 14 Aug 2014 12:47
by Shalex
New build of Entity Developer 5.7.422 is available for download!
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=30168.

Re: EntityFramework Templates GetHashCode and Equals

Posted: Thu 28 Aug 2014 16:58
by wegged
Thank you!