Beispiel #1
0
        protected void Application_Start(object sender, EventArgs e)
        {
            var oDataAccess = new DataAccessDataContext(ConfigurationManager.ConnectionStrings["MemberProtectConnectionString"].ConnectionString);

             // Maintenance Tasks
             // 1. Remove all companies/orgs for which they have no users
             oDataAccess.sp_System_PurgeCompanies();

             XmlConfigurator.Configure();
        }