Entityframework.docs: Document enum mapping

Created on 31 May 2017  路  2Comments  路  Source: dotnet/EntityFramework.Docs

I ran into the usage in an aspnet core article here https://docs.microsoft.com/en-us/aspnet/core/security/authorization/secure-data#modify-the-app-to-secure-user-data

There is no documentation in /ef/core regarding the usage of enum. A small article under /ef/core/modeling/ would be great. Simply going over the fact that you can do this and how would suffice -- why you would do it (instead of using another DB table) might be out of scope, but would be nice to have.

Everything else is great, EF core is awesome!

area-entity-mapping punted-for-2.2

Most helpful comment

an example on how to use enumeration classes with EF Core is great.

All 2 comments

an example on how to use enumeration classes with EF Core is great.

I'd like to give it a try 馃槃

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ctaggart picture ctaggart  路  3Comments

jpeckham picture jpeckham  路  3Comments

joakimriedel picture joakimriedel  路  3Comments

divega picture divega  路  4Comments

MohammadMQ picture MohammadMQ  路  3Comments