Page 1 of 1

"Value generated" behavior not reflected in database when value is "OnAdd"

Posted: Thu 16 May 2019 14:35
by PixelHunter
Hi!

I have a problem regarding Entity Developer/Entity Framework Core and the migration to a database after model creation.

I created an EF Core Model in Entity Developer.

I set "OnAdd" in "Value Generated" of some properties like:
Image

However, when I updated the database from this model, this change is not reflected:
Image

"Identity Specification" should be: Yes

How can I solve this?

Entity Developer Version: 6.4.719

Thanks in advance!

Re: "Value generated" behavior not reflected in database when value is "OnAdd"

Posted: Mon 20 May 2019 15:41
by Shalex
Thank you for your report. We have reproduced the issue and will notify you when it is fixed.

Re: "Value generated" behavior not reflected in database when value is "OnAdd"

Posted: Thu 04 Jul 2019 18:26
by Shalex
The bug with generating IDENTITY for the property with Primary Key=False and Value Generated=OnAdd by Generate Database Script / Update To Database Wizard is fixed: viewtopic.php?f=32&t=38972.

Re: "Value generated" behavior not reflected in database when value is "OnAdd"

Posted: Fri 26 Jul 2019 09:11
by PixelHunter
Thanks! I just saw it!