-
Notifications
You must be signed in to change notification settings - Fork 152
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
[NHibernate] Update Setup #61
Comments
Hi, any updates on this? |
@alecwhittington I like the idea. have you done any work on this? |
Don't think any work has been done on this. Alec is out, will need to I'm on holiday flying back tomorrow, maybe we should schedule a hangout for Apologies in advance for any auto correction or spelling mistakes, sent
|
Yep, sounds good. Regards, On Mon, Apr 13, 2015 at 7:01 PM, Seif Attar [email protected]
|
Talking with Vitaliy now, agreed to strip down to basic. Remove the initialiser, change the way repositories work to have an ISession injected in. The multi-database functionality (curently implemented via the SessionFactoryKeyAttribute) will be out of scope initially. Once the changes are made, we will need to come up with a way to inject the correct the ISession from the IoC registration. |
Also #85 |
…harparchitecture#61 * ValidatableObject now requires ValidationContext; * HasUniqueDomainSignatureAttribute now requires ValidationContext; * DataAnnotationsEventListener how provides IServiceProvider with ISession; * TardisBank - use CastleWindsor to register ISession and ISessionFactory; * TardisBank - update CastleWindsor installers.
* Add NHibernateSessionFactoryBuilder, also fixes sharparchitecture#54 * Replace NHibernateSession with NHibernateSessionFactoryBuilder, see sharparchitecture#61 * ValidatableObject now requires ValidationContext; * HasUniqueDomainSignatureAttribute now requires ValidationContext; * DataAnnotationsEventListener how provides IServiceProvider with ISession; * TardisBank - use CastleWindsor to register ISession and ISessionFactory; * TardisBank - update CastleWindsor installers. * Use DependencyResolver in ASP.NET MVC * Inherit ILinqRepository from IRepository
Get rid of NHibernateInitializer in favor of a Windsor Facility. This will eliminate Session Storage amongst other things, making initialization simpler.
The text was updated successfully, but these errors were encountered: