Click or drag to resize
OracleDQEConfigurationAddDbProviderFactory Method
Adds the DbProviderFactory specified as the factory to use with the invariant name specified. It's possible to register multiple factories, as long as the invariantName is unique.

Namespace:  SD.LLBLGen.Pro.DQE.Oracle
Assemblies:   SD.LLBLGen.Pro.DQE.OracleMS (in SD.LLBLGen.Pro.DQE.OracleMS.dll) Version: 5.3.0.0 (5.3.0)
  SD.LLBLGen.Pro.DQE.OracleODPNet (in SD.LLBLGen.Pro.DQE.OracleODPNet.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public OracleDQEConfiguration AddDbProviderFactory(
	Type factoryType,
	string invariantName = "System.Data.OracleClient"
)

Parameters

factoryType
Type: SystemType
The DbProviderFactory derived type to use
invariantName (Optional)
Type: SystemString
The invariant name to register the factory with. If empty, the name is inferred from the namespace of the specified DbProviderFactory derived type. By default for ODP.NET, this is 'Oracle.ManagedDataAccess.Client', the managed ODP.NET provider. For MS Oracle, this is 'System.Data.OracleClient'.

Return Value

Type: OracleDQEConfiguration
Remarks
.NET Full: If you specify a factory type with an invariant name which is already registered with the system (in machine.config) or in the application's app.config file, it will override that already registered factory type.
See Also