Can we have enum in entity framework?



Can we have enum in entity framework?..

Answer / 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

More Dot Net Framework Interview Questions

If foreground completes its processing will it wait for background threads?

1 Answers   Kanbay,


What is MVVM design pattern?

1 Answers  


What is the use of JIT

1 Answers  


When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?

1 Answers  


Can a view be shared across multiple controllers? If yes, how we can do that?

1 Answers  


what is minimum requirement for entity framework applications to run?

1 Answers   Microsoft,


What symbol would you use to denote, the start of a code block in razor views?

1 Answers  


What is .net framwork? what is web application? what is CLR? How does work CLR & wht is work of CLR? What is compile? wht is thread? what does use in .net?

4 Answers   IBM, NIIT,


Explain tempdata in mvc?

1 Answers  


What is the difference between viewbag and viewdata in asp.net mvc?

1 Answers  


What is the .net framework?

1 Answers  


How route table has been created in asp.net mvc?

1 Answers  


Categories