Ejemplo n.º 1
0
        public void GetOracleFactoryTest()
        {
            IWrappedDbConnectionFactory factory = DbConnectionFactoryProvider.GetFactory(ProviderType.Oracle);

            Assert.IsInstanceOfType(factory, typeof(OracleConnectionFactory));
        }
Ejemplo n.º 2
0
        public void GetIbmDb2FactoryTest()
        {
            IWrappedDbConnectionFactory factory = DbConnectionFactoryProvider.GetFactory(ProviderType.IbmDb2);

            Assert.IsInstanceOfType(factory, typeof(IbmDb2ConnectionFactory));
        }
Ejemplo n.º 3
0
        public void GetMsSqlFactoryTest()
        {
            IWrappedDbConnectionFactory factory = DbConnectionFactoryProvider.GetFactory(ProviderType.MsSql);

            Assert.IsInstanceOfType(factory, typeof(MsSqlConnectionFactory));
        }