Page 1 of 1

Entity wIthout a Primary Key

Posted: Sat 18 Sep 2021 08:41
by dangb00
Is there any way to override/ block the error for a Entity without a PK (on the basis that I'm extending from IdentityUser and so don't need to create one in the Entity). ( EF Core for use with SQL Server)

Re: Entity wIthout a Primary Key

Posted: Tue 21 Sep 2021 11:57
by Shalex
We will notify you when the Do Not Generate option for a class property is implemented in EF Core Model.

Re: Entity wIthout a Primary Key

Posted: Tue 21 Sep 2021 13:01
by dangb00
Shalex - awesome! thank you!