Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

New Post: EF 6 - Can an option be set to store Enums as Strings?

$
0
0
Hi

One feature I really like in Nhibernate is that it stores Enums as strings. If you have to quickly look at the raw data in the database it is so much nicer seeing a string then the "int" value of that enum option.

Does EF 6 support this?

I am using code first? I am currently using alpha 3 but I just noticed there is a new beta version.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>