Example #1
0
 private void Dispose(bool disposing)
 {
     if (!_disposed)
     {
         if (disposing)
         {
             _container.Dispose();
         }
         _disposed = true;
     }
 }
Example #2
0
 public void Dispose()
 {
     _dataContext.Dispose();
 }