default values and StoreGeneratedPattern

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
figueiredorj
Posts: 41
Joined: Fri 12 Apr 2013 19:05

default values and StoreGeneratedPattern

Post by figueiredorj » Mon 11 Mar 2019 14:27

Hi,
I was trying to get defautl values on ef core and if ti has a computed value, but there is no "StoreGeneratedPattern" apparently.. for standard ef I would use this property for obtainign it...

How should I proceed with core?


thanks

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

Re: default values and StoreGeneratedPattern

Post by Shalex » Wed 13 Mar 2019 15:36

EF Core offers a different approach (without StoreGeneratedPattern) for setting explicit values for generated properties: https://docs.microsoft.com/en-us/ef/cor ... properties.

Post Reply