protected override void Dispose(bool disposing) { if (disposing) { db.Dispose(); } base.Dispose(disposing); }
/// <summary> /// Dispose of the ADO for connection tidy-up /// </summary> protected void Dispose() { if (SamAccountName != null && AuthenticationType == AuthenticationType.local) { Login_BSO.ExtendSession(Ado, SamAccountName); } // Dispose the ADO Ado.Dispose(); // To be reviewed... PxStat.RequestLanguage.LngIsoCode = null; }
/// <summary> /// Dispose of the ADO for connection tidy-up /// </summary> protected void Dispose() { Ado.Dispose(); PxStat.RequestLanguage.LngIsoCode = null; }