NHibernate Session Manager with SysCache
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.nuget Setup nuget packages May 8, 2015
Ixoxo.Domain Downgraded deps Dec 16, 2015
Ixoxo.Nhib Downgraded deps Dec 16, 2015
packages Setup nuget packages May 8, 2015
.gitignore Setup nuget packages May 8, 2015
IxoxoNHibernate.sln Downgraded deps Dec 16, 2015
README.md Update README.md Dec 16, 2015
appveyor.yml Appveyor config May 8, 2015

README.md

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>()));