DataProviderGetBasicProviderValues Method

Generates a collection of parameter values based on the provided host, port, and database information.

Namespace:  Dundas.BI.Data.DataProviders
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntax
protected static ParameterValueCollection GetBasicProviderValues(
	string host,
	string? port,
	string? database,
	IReadOnlyList<ProviderProperty> providerProperties
)

Parameters

host
Type: SystemString
The hostname or IP address of the database server. If a port is provided but no port property exists, the port is appended to the host.
port
Type: SystemString
The port number of the database server. This value is used only if a port property is defined and its data type is numeric.
database
Type: SystemString
The name of the database. This value is added to the collection if a database property is defined and the value is not null or whitespace.
providerProperties
Type: System.Collections.GenericIReadOnlyListProviderProperty
A list of ProviderProperty to use instead of the the provider defaults.

Return Value

Type: ParameterValueCollection
A ParameterValueCollection containing the parameter values for the host, port, and database. The collection includes only the parameters for which corresponding property descriptors are defined.
Remarks
This method maps the provided host, port, and database values to their respective property descriptors based on the JdbcConnectionStringComponent values of the descriptors. If no matching property descriptor is found for a parameter, that parameter is not included in the returned collection.
See Also