fluent-nhibernate
fluent-nhibernate copied to clipboard
Possible to get support for Fluent mapping class constructors with parameters?
For instance, I'd like to be able to create some class:
public class MyClassMap : ClassMap<MyType>
{
public MyClassMap(object argumentOne, object argumentTwo)
{
// leverage arguments to further customize creation of fluent mapping.
}
}
Understand if this is an unachievable design constraint.
This is an issue because I have an issue with not being able to do this.