Selecting the Correct constructor Without an Attribute?

Mar 29, 2013 at 4:32 PM
Edited Mar 29, 2013 at 4:33 PM
We have lots of entities with multiple constructors. But, they can all have a public or private parameter-less constructor. Is there a way to configure to always use this constructor without having to apply an attribute to it?

Note: In some cases we would have public parameterized ctors that should not be used, but would have a private ctor that should be used.
Apr 17, 2013 at 3:07 AM
Yes. ConstructorHandling.AllowNonPublicDefaultConstructor

It is covered in the documentation...