Page 1 of 1

Not mapped properties

Posted: Wed 14 Nov 2012 08:35
by mlagasio
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

Re: Not mapped properties

Posted: Mon 19 Nov 2012 17:45
by Shalex
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.