예제 #1
0
 protected void Application_Start(object sender, EventArgs e)
 {
     log4net.Config.XmlConfigurator.Configure();
     log.Debug("CTI Web Services Starting...");
     InitCache();
     if (System.Web.Configuration.WebConfigurationManager.AppSettings.Get("CallsInDatabase") == "true")
     {
         log.Debug("Initialize Codif database...");
         codif = new CodifEntities();
     }
 }
예제 #2
0
 public TalkCodificationProvider()
 {
     _codif = new CodifEntities("name=" + connectionStringName);
 }