示例#1
0
        protected virtual void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                if (disposing)
                {
                    _db.Dispose();
                }
            }

            _disposed = true;
        }
示例#2
0
 public void Rollback()
 {
     _databaseContext.Dispose();
 }