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

            Logger = LogManager.GetLogger(config.Logger);
            dal = new ProductDataAccess(config);
        }
コード例 #4
0
 public ProductDataAccess(ProductConfigurationSection config)
 {
     Config = config;
     db = DatabaseFactory.CreateDatabase(config.Database);
 }