public void Dispose()
 {
     if (!_isDisposed)
     {
         _authDbContext.Dispose();
         _isDisposed = true;
         GC.SuppressFinalize(this);
     }
 }
 public void Dispose()
 {
     if (context != null)
     {
         context.Dispose();
     }
     if (userManager != null)
     {
         userManager.Dispose();
     }
 }
Esempio n. 3
0
        } // End CommitAsync

        /*
         * Name: Dispose
         * Author: Namchok Singhachai
         * Description: Discardation all operation.
         */
        public void Dispose()
        {
            _context.Dispose();
        } // End Dispose
Esempio n. 4
0
 public void Dispose()
 {
     _authDbContext.Dispose();
 }
Esempio n. 5
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     context.Dispose();
 }
Esempio n. 6
0
 public void Dispose()
 {
     _context.Dispose();
     _userManager.Dispose();
 }
 public void Dispose()
 {
     dbContext.Dispose();
     _authUserManager.Dispose();
 }
 public void Dispose()
 {
     _ctx.Dispose();
     _userManager.Dispose();
 }
Esempio n. 9
0
 public void Dispose()
 {
     dbContext.Dispose();
     userManager.Dispose();
 }