Beispiel #1
0
        public string Test()
        {
            DatabaseAdapterFactory factory = new DatabaseAdapterFactory();
            IDatabaseAdapter       adapter = factory.Create("oracle");

            return(adapter.ProviderName);
        }
Beispiel #2
0
        public string Test()
        {
            DatabaseAdapterFactory factory = new DatabaseAdapterFactory();
            IDatabaseAdapter adapter = factory.Create("oracle");

            return adapter.ProviderName;
        }