Skip to content
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

Support to have a connection string in the appsettings.json file instead of hibernate.cfg.xml #2

Closed
xhafan opened this issue Mar 8, 2019 · 2 comments
Assignees

Comments

@xhafan
Copy link
Owner

xhafan commented Mar 8, 2019

This would support having different connection strings in appsettings.{environment}.json files with one version of hibernate.cfg.xml

@xhafan xhafan self-assigned this Mar 8, 2019
@xhafan
Copy link
Owner Author

xhafan commented Mar 8, 2019

Implemented by ae3223d , released only CoreDdd.Nhibernate and CoreDdd.Nhibernate.Register.DependencyInjection libs as versions 3.2.2

@xhafan xhafan closed this as completed Mar 8, 2019
@xhafan
Copy link
Owner Author

xhafan commented Mar 8, 2019

.NET Core dependency injection usage example:

services.AddCoreDddNhibernate(new NhibernateConfigurator(connectionString: "a connection string"));

@xhafan xhafan reopened this Mar 11, 2019
@xhafan xhafan closed this as completed Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant