Not mapped properties

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
mlagasio
Posts: 43
Joined: Mon 14 Mar 2011 13:42

Not mapped properties

Post by mlagasio » Wed 14 Nov 2012 08:35

Hi

is it possible to add a not mapped property to an Entity class?
My need is to load by instances of this class a view that has not a primary key.
So I think to create it artificially by the not mapped property.

Best Regards
Marco

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

Re: Not mapped properties

Post by Shalex » Mon 19 Nov 2012 17:45

mlagasio wrote:is it possible to add a not mapped property to an Entity class?
There is no way to do that.
mlagasio wrote:My need is to load by instances of this class a view that has not a primary key.
You should set the Entity Key attribute for the properties in the class, which uniquely identify each record in the result set.

Post Reply