public static IProductManager GetProductManager()
        {
            string managerType = System.Configuration.ConfigurationManager.AppSettings["datamanager"];
            IProductManager productManager = null;
            switch (managerType)
            {
                case "sql":
                    productManager = new ProductSqlManager();
                    break;
                case "oracle":
                    productManager = new ProductOracleManager();
                    break;

            }
            return productManager;
        }
        public static IProductManager GetProductManager()
        {
            string          managerType    = System.Configuration.ConfigurationManager.AppSettings["datamanager"];
            IProductManager productManager = null;

            switch (managerType)
            {
            case "sql":
                productManager = new ProductSqlManager();
                break;

            case "oracle":
                productManager = new ProductOracleManager();
                break;
            }
            return(productManager);
        }