TortugaResearch / Tortuga.Chain

A fluent ORM for .NET
Other
336 stars 22 forks source link

Improve the default behavior when only one constructor exists. #411

Closed Grauenwolf closed 2 years ago

Grauenwolf commented 2 years ago

If only one constructor exists, then default to using that constructor even if InferConstructor is not set.

Also update the InferConstructor documentation to indicate it doesn't work with default constructors.