public override void Setup() { base.Setup(); context = new NhConversationContext(); conv = new NhConversation(sessionFactory, context); context.SetDefaultConversation(conv); dao = new NhDao<Software>(context); }
public override void Teardown() { if (conv != null) { conv.Dispose(); conv = null; } base.Teardown(); }
public override void Teardown() { if (conv != null) { context.UnsetDefaultConversation(); conv.Dispose(); conv = null; } base.Teardown(); }
public override void Setup() { base.Setup(); conv = new NhConversation(sessionFactory, context); }
public NhScope(INhConversation conversation) { this.conversation = conversation; }