Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="disposing"></param>
 protected virtual void Dispose(bool disposing)
 {
     if (!this._disposed)
     {
         if (disposing)
         {
             _entityContext.Dispose();
         }
     }
     this._disposed = true;
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="disposing"></param>
 protected virtual void Dispose(bool disposing)
 {
     _entityContext.Database.Connection.Close();
     _CrashRepository        = null;
     _buggRepository         = null;
     _functionRepository     = null;
     _userRepository         = null;
     _callstackRepository    = null;
     _userGroupRepository    = null;
     _errorMessageRepository = null;
     _entityContext.Dispose();
     _entityContext = null;
 }
Beispiel #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="disposing"></param>
 protected virtual void Dispose(bool disposing)
 {
     if (!this._disposed)
     {
         if (disposing)
         {
             _crashRepository        = null;
             _buggRepository         = null;
             _functionRepository     = null;
             _userRepository         = null;
             _callstackRepository    = null;
             _userGroupRepository    = null;
             _errorMessageRepository = null;
             _entityContext.Dispose();
         }
     }
     this._disposed = true;
 }