entity framework 4 - Can one use a parameterized constructor with DbSet.Create(Type)? -


I have a base class and a few different sub-classes that are instantaneous as a change-tracking proxy, and IA? ??? D Want to use the DbSet.Create (Type) method to create an additional proxy to add to my model.

Before the code became available, my application was developed, so firstly, when I created these items, I used to create an object and its base member variables and properties to be parametrade I am using Constructor.

Does the entity framework allow me to create a change-tracking proxy using a constellant with a parameter list? Can I send some of these parameters to the base class (proxy)? (I like to be with IA ???? D object-oriented paradigm if I can because it will make the code easier to maintain.) If you can show me how to use parameterized constructors to do this I

Thank you,

EF can not use parametricized constructors, you should always provide parametrled constructor ( But it does not have to be public .)

Comments