示例#1
0
 protected override void OnUnload(EventArgs e)
 {
     //Se l'Object Context non è stato già terminato, va distrutto qui.
     if (_context != null)
     {
         _context.Dispose();
         _context = null;
     }
     base.OnUnload(e);
 }