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

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
PixelHunter
Posts: 17
Joined: Thu 29 Jun 2017 11:07

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

Post by PixelHunter » Thu 16 May 2019 14:35

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!

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

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

Post by Shalex » Mon 20 May 2019 15:41

Thank you for your report. We have reproduced the issue and will notify you when it is fixed.

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

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

Post by Shalex » Thu 04 Jul 2019 18:26

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.

PixelHunter
Posts: 17
Joined: Thu 29 Jun 2017 11:07

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

Post by PixelHunter » Fri 26 Jul 2019 09:11

Thanks! I just saw it!

Post Reply