riskfirst / riskfirst.hateoas

Powerful HATEOAS functionality for .NET web api
MIT License
78 stars 25 forks source link

Define Link class as [Keyless] for .NET 6 #43

Open fa-bo opened 2 years ago

fa-bo commented 2 years ago

Starting a new API with .NET 6, I've got an error when trying to migrate the database. It says that the entity type 'Link' requires a primary key or need to be defined as Keyless.