Entity Framework : Is it possible to create an entity that is not mapped on a table of my database?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Entity Framework is really about auto-generating classes that have all the guts to be easily used in Web Services and connected to Databases. If you don’t need those capabilities of EF, then all you are really doing is using a UI to make your Entity Classes, rather than just coding them out by hand. It’s certainly possible, but you don’t gain much by doing so and end up with a lot of auto-generated bloat in your code base.
Indeed, since EF does it “a certain way” you lose some flexibility that is otherwise available to you by defining your own Entity Classes in source.