protected override void Dispose(bool explicitDispose) { _referenceKeyProvider = null; _baseCtx = null; // base.Dispose(explicitDispose); }
protected P_StorageOpCtxBase(P_StorageOpCtx baseCtx) : base(outerDependencies: baseCtx.EnsureNotNull(nameof(baseCtx)).Value.DataContext) { _dataCtx = baseCtx.DataContext; _efCtxGetter = baseCtx.GetDataChangeEfDbContext; _efCtxLazy = new DisposableLazy <TEfDbContext>(factory: P_GetDataChangeEfDbContext, ownsValue: false); }
internal P_StrictedStorageOpCtx(P_StorageOpCtx baseCtx, PersistenceEntityReferenceKeyTypeDescriptor referenceKeyTypeDescriptor) : base(baseCtx: baseCtx) { // _baseCtx = baseCtx; _referenceKeyTypeDescriptor = referenceKeyTypeDescriptor; }