-
Notifications
You must be signed in to change notification settings - Fork 688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inject parameters to FluentMapping #375
Comments
@csharpdeveloper12 you should at least submit a PR if you want this to be included. |
Static properties can be used as a workaround. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello :),
i needed a posibility to distinguish in the FluentMapping-Files -> Call constructor with parameters.
So i have developed an function for inject parameters into a mapping (FluentMapping). I have customized among others the files "FluentMappingsContainer" and "PersistenceModel". So i can invoke
map.AddFromAssembly(System.Reflection.Assembly.GetExecutingAssembly(), args.ToArray());
And it works :)
Now is my question whether you can implement this funtion directly in FluentNHibernate for this behavior so
Thanks in advance
csharpdeveloper
The text was updated successfully, but these errors were encountered: