Exemple #1
0
        public static Boolean SetConnectionString(enConnectionType value, ConnectionString ConnectionString)
        {
            ConnectionStringCreator obj = new ConnectionStringCreator();

            return(obj.FactoryMethod(value.ToString()).Set(ConnectionString));
        }
Exemple #2
0
        public static ConnectionString GetConnectionString(enConnectionType value)
        {
            ConnectionStringCreator obj = new ConnectionStringCreator();

            return(obj.FactoryMethod(value.ToString()).Get());
        }