Is this a design choice by Microsoft, or is there a way to do it, that I’m not aware of?
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.
If you want to use EF Entity Objects as of your entity types then you should have them implement a custom interface in a separate partial class since they are already inheriting from EntityObject.
However, if you use the new EF 4.0 POCO Entities, then you can freely have them inherit from ant custom base class that you want.
BTW, this has nothing to do with EF “design”, it’s just because you cannot have Multiple Inheritance in C#.