Who is Ali Özgür?

RecentComments

Comment RSS
In previous article NHibernate Best Practices with ASP .NET, Generics and Unit Tests by Bill McCafferty NHSessionManager is configured via App/Web config simply to work with NHibernate core assembly. Since NHSessionManager and other assemblies (Core, Data and Test) are located in the same solution this simple way is enough for all practical purposes. But for sake of code resuse we can think to reorginize NHibernate utility classes (NHSessionManager, DomainObject, NHGenericDao) and interfaces (IGenericDao) in a seperate solution/project. When this is the case we need a more generic way to specify NHSessionManager configuration. Another article Using NHibernate with Multiple Databases again by Bill McCafferty is a very good example how to extend configuration system of .NET
More...

Posted in: .NET Development , CodeProject , NHibernate  Tags:

In previous CodeProject.com article NHibernate Best Practices with ASP .NET, Generics and Unit Tests by Bill McCafferty
Core project contains DAO interfaces and domain objects while Data project contains implemetation of DAO interfaces.
For performance reasons, since we do not want to iterate over collections to find a matching object, we use DAO and thus
NHibernate to query for objects we are interested.More...


Posted in: .NET Development , CodeProject , NHibernate  Tags: