public ProductNodeCreator(ProductPageParameter parameter, ProductConfigurationSection config, ProductDataAccess DAL, XmlDocument document)
 {
     Parameter = parameter;
     Config = config;
     dal = DAL;
     xdoc = document;
 }
 public ProductPublishHandler(string Url)
 {
     config = (ProductConfigurationSection)ConfigurationManager.GetSection("publish/productPublish");
     dal = new ProductDataAccess(config);
     Logger = LogManager.GetLogger(config.Logger);
     PageParameter = GetParameter(Url);
     PageFileName = GetPageFileName();
 }
        public ProductPageCreator(ProductPageParameter parameter, ProductConfigurationSection config)
        {
            Parameter = parameter;
            Config = config;

            Logger = LogManager.GetLogger(config.Logger);
            dal = new ProductDataAccess(config);
        }
 public ProductDataAccess(ProductConfigurationSection config)
 {
     Config = config;
     db = DatabaseFactory.CreateDatabase(config.Database);
 }