예제 #1
0
 public void Dispose(bool isDisposing)
 {
     if (!isDisposed)
     {
         if (isDisposing)
         {
             dbContext.Dispose();
         }
     }
     isDisposed = true;
 }
예제 #2
0
 protected virtual void Dispose(bool isDisposing)
 {
     if (!isDisposed)
     {
         if (isDisposing)
         {
             dbContext.Dispose();
         }
     }
     isDisposed = true;
 }