GetCurrentSession() public method

public GetCurrentSession ( ) : ISession
return ISession
コード例 #1
0
 public void CreateSchemaTest()
 {
     var provider = new DatabaseSessionProvider();
     provider.OpenSession();
     using (var session = provider.GetCurrentSession())
     {
     }
 }