示例#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();
         
     }
 }
 public TalkCodificationProvider()
 {
     _codif = new CodifEntities("name=" + connectionStringName);
 }