public BrandNodeCreator(BrandPageParameter parameter, BrandConfigurationSection config, BrandDataAccess DAL, XmlDocument document)
 {
     Parameter = parameter;
     Config    = config;
     dal       = DAL;
     xdoc      = document;
 }
 public BrandPublishHandler(string Url)
 {
     config        = (BrandConfigurationSection)ConfigurationManager.GetSection("publish/brandPublish");
     Logger        = LogManager.GetLogger(config.Logger);
     dal           = new BrandDataAccess(config);
     PageParameter = GetParameter(Url);
     PageFileName  = GetPageFileName();
 }
        public BrandPageCreator(BrandPageParameter parameter, BrandConfigurationSection config)
        {
            Parameter = parameter;
            Config    = config;

            Logger = LogManager.GetLogger(config.Logger);
            dal    = new BrandDataAccess(config);
        }
Esempio n. 4
0
 public BrandDataAccess(BrandConfigurationSection config)
 {
     Config = config;
     db     = DatabaseFactory.CreateDatabase(config.Database);
 }