C# Class Northwind.NHibernate.MsSql.NorthwindContext

Inheritance: NHibernateDataContext
Show file Open project: object/NorthwindOData

Public Methods

Method Description
CreateSessionFactory ( string connectionString ) : ISessionFactory
NorthwindContext ( ISession session ) : System

Method Details

CreateSessionFactory() public static method

public static CreateSessionFactory ( string connectionString ) : ISessionFactory
connectionString string
return ISessionFactory

NorthwindContext() public method

public NorthwindContext ( ISession session ) : System
session ISession
return System