public void GetOracleFactoryTest() { IWrappedDbConnectionFactory factory = DbConnectionFactoryProvider.GetFactory(ProviderType.Oracle); Assert.IsInstanceOfType(factory, typeof(OracleConnectionFactory)); }
public void GetIbmDb2FactoryTest() { IWrappedDbConnectionFactory factory = DbConnectionFactoryProvider.GetFactory(ProviderType.IbmDb2); Assert.IsInstanceOfType(factory, typeof(IbmDb2ConnectionFactory)); }
public void GetMsSqlFactoryTest() { IWrappedDbConnectionFactory factory = DbConnectionFactoryProvider.GetFactory(ProviderType.MsSql); Assert.IsInstanceOfType(factory, typeof(MsSqlConnectionFactory)); }