protected override void Dispose(bool disposing) { if (disposing) { if (triggerManager != null) triggerManager.Dispose(); if (EventRegistry != null) EventRegistry.Dispose(); } triggerManager = null; EventRegistry = null; base.Dispose(disposing); }
internal SessionContext(ITransactionContext transactionContext) : base(transactionContext) { EventRegistry = new EventRegistry(this); triggerManager = new CallbackTriggerManager(this); }