Exemplo n.º 1
0
 public void Dispose()
 {
     try
     {
         this._logger.LogInformation("方法:Dispose");
         _context.Dispose();
     }
     catch (Exception ex)
     {
         this._logger.LogError("方法:Dispose" + "错误信息:" + ex.Message);
     }
 }