public NHUnitOfWorkMultitenancy(NHConfiguration nhConfiguration, TenantContext tenantContext) : base(nhConfiguration) { this.Session.EnableFilter("MultitenantFilter").SetParameter("TenantId", tenantContext.ID); }
public NHUnitOfWork(NHConfiguration nhConfiguration) { this.nhConfiguration = nhConfiguration; this.openSession(); }