EntityFramework Templates GetHashCode and Equals

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
wegged
Posts: 5
Joined: Tue 08 Jul 2014 19:14

EntityFramework Templates GetHashCode and Equals

Post by wegged » Tue 08 Jul 2014 19:26

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!

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: EntityFramework Templates GetHashCode and Equals

Post by Shalex » Thu 10 Jul 2014 11:18

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.

wegged
Posts: 5
Joined: Tue 08 Jul 2014 19:14

Re: EntityFramework Templates GetHashCode and Equals

Post by wegged » Fri 25 Jul 2014 16:38

DbContext template.

Thank you.

wegged
Posts: 5
Joined: Tue 08 Jul 2014 19:14

Re: EntityFramework Templates GetHashCode and Equals

Post by wegged » Mon 11 Aug 2014 18:27

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

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: EntityFramework Templates GetHashCode and Equals

Post by Shalex » Wed 13 Aug 2014 06:33

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.

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: EntityFramework Templates GetHashCode and Equals

Post by Shalex » Thu 14 Aug 2014 12:47

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.

wegged
Posts: 5
Joined: Tue 08 Jul 2014 19:14

Re: EntityFramework Templates GetHashCode and Equals

Post by wegged » Thu 28 Aug 2014 16:58

Thank you!

Post Reply