Following Kevin Pang’s request on my last post regarding my problems getting NHibernate, NH Spatial and SQL Server Fulltext queries to work , I am finally getting around to giving some tips and pointers, and the code that Steve Strong of iMeta knocked up for me. I needed to get these things working...
As if my life wasn't boring enough trying to get S#arp Architecture 1.0 out the door...
Posted to
Billy McCafferty
by
Billy McCafferty
on
05-03-2009
Filed under:
Filed under: Architecture, C#, .NET, Software Development, SQL Server, Algorithms, Refactoring, NHibernate, Project Management, Test-Driven Development, Agile Development, MVC.NET, S#arp Architecture, DDD
[Updated March 10, 2009: Important!! While the original content shown below is usable in most cases, there are scenarios wherein it breaks down. The results of GetHashCode should not also be used as the means for expressing object equality. Accordingly, this, and other issues have been resolved and may...
I've been asked a couple of times how to give a domain object access to a dependency injection (DI) container, such as Castle Windsor, if the domain object is loaded via an ORM, such as NHibernate. There are two apparent ways to do this: 1) you can manually give the domain object access to the DI via...