adspace


Can we have enum in entity framework?

Answer Posted / Abdul Samad

Yes, you can use enums in Entity Framework (EF). However, enums must be defined as part of your .NET classes, not directly within the database schema. EF will map enum values to the corresponding integer values during runtime.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use multiple submit buttons in asp.net mvc?

1319


Explain the request flow in asp.net mvc framework?

1105


Possible ways to prevent xss attacks on mvc application?

1094