Default values?

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
Posts: 11
Joined: Thu 17 Nov 2011 11:34

Default values?

Post by picrap » Thu 15 Dec 2011 14:51


we have some default values in our database (set when the insert is made), but Entity Developer apparently does not handle this.
In theory this should set the "Generated" property to "Insert".
Have I missed something, or is this actually a bug?


Devart Team
Posts: 7977
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Tue 20 Dec 2011 10:14

picrap wrote:In theory this should set the "Generated" property to "Insert".
Not exactly. If you mark the property as "Generated=Insert", its value will be never passed to the database even if you initialize it in your code. ... Properties:
"Properties marked as generated must additionally be non-insertable and non-updateable."

Post Reply