protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
Exemple #2
0
        /// <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;
        }
Exemple #3
0
 /// <summary>
 /// Dispose of the ADO for connection tidy-up
 /// </summary>
 protected void Dispose()
 {
     Ado.Dispose();
     PxStat.RequestLanguage.LngIsoCode = null;
 }