Entity Framework .. partial constructor

I intend to extend the constructors of some objects in my Entity Framework (4).

However, how can I guarantee that my constructor starts after the model starts. that is, I want to make sure that the object stores data from the database before working with it in my constructor.

+5
source share
2 answers

There is no constructor created, except for the standard; objects are created using the factory method and simply initialized after construction.

, . , , , , , .

+2

.

+1

All Articles