예제 #1
0
 protected override void Dispose(bool explicitDispose)
 {
     _referenceKeyProvider = null;
     _baseCtx = null;
     //
     base.Dispose(explicitDispose);
 }
예제 #2
0
 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);
 }
예제 #3
0
 internal P_StrictedStorageOpCtx(P_StorageOpCtx baseCtx, PersistenceEntityReferenceKeyTypeDescriptor referenceKeyTypeDescriptor)
     : base(baseCtx: baseCtx)
 {
     //
     _baseCtx = baseCtx;
     _referenceKeyTypeDescriptor = referenceKeyTypeDescriptor;
 }