Example #1
0
 public void Dispose()
 {
     if (this._context != null)
     {
         _context.Dispose();
     }
 }
Example #2
0
 /// <summary>
 /// Liberar a memória
 /// </summary>
 public void Dispose()
 {
     _entidade = null;
     if (_contexto != null)
     {
         _contexto.Dispose();
     }
     GC.SuppressFinalize(this);
 }
Example #3
0
 public void Dispose()
 {
     _contexto.Dispose();
 }
 public void Dispose()
 {
     Db.Dispose();
 }
Example #5
0
 public void Dispose()
 {
     contextoBanco?.Dispose();
 }