Regarding extending EF Core entities and OperationalStore #208
Unanswered
MarcHartelman
asked this question in
IdentityServer
Replies: 1 comment 3 replies
-
Depends on what needs to be added, but generally you should be able to use Entity Framework's standard capabilities to extend the entities and dbContext. About your other question: Can you please check if |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We want to use the ef core migrations of Duende, so we are up to speed when new releases will come out.
But we also want to add some own extra properties for some specific use cases, how can we go about this.
Is it as simple as adding a new class with the inheritance of the other (duende) Entities and adding the entitytype configuration.
Or should we just implement the entire Database ourselves.
Also when trying to implement the AddOperationalStore the ef core migration errored
The table DeviceFlowCodes,
The exception 'The entity type 'DeviceFlowCodes' requires a primary key to be defined.
Do we need to add HasNoKey on the OnModelCreating
Shouldn't it be working straight out of the box ?
Beta Was this translation helpful? Give feedback.
All reactions