Skip to content

nicbell/IxoxoNHibernate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ixoxo NHibernate Build status

This solution provides.

Ixoxo.Domain

To be used with your domain model.

  • Base domain enity.
  • Domain repository interface.

Ixoxo.Nhib

To be used with your NHibernate implementation.

  • NHibernate Session Manager with SysCache.
  • NHibernate domain repository implementation.
  • Base fluent NHibernate mapping.

Available to on Nuget

PM> Install-Package Ixoxo.Domain
PM> Install-Package Ixoxo.Nhib

Usage

Before you get started you will need to configure the session manager. You will usually do this in your HttpApplication start or init.

NHibernateSessionManager.configure(Fluently.Configure()
    .Database(MsSqlConfiguration.MsSql2008
#if DEBUG
    .ShowSql()
#endif
    .ConnectionString(c => c.Is(ConnectionString)))
    .Mappings(m => m.FluentMappings.AddFromAssemblyOf<Example>()));

About

NHibernate Session Manager with SysCache

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages