예제 #1
0
 protected virtual void Dispose(bool disposing)
 {
     lock (syncObj) {
         if (!isDisposed && disposing)
         {
             if (context != null)
             {
                 context.Dispose();
             }
             isDisposed = true;
         }
     }
 }