ProviderExpressionGetQuery Method (String, ICollectionDataParameterValue, DictionaryString, String)

Generates the query by substituting placeholders with generated parameter names.

Namespace:  Dundas.BI.Data.DataProviders
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public string GetQuery(
	string namedParameterFormat,
	ICollection<DataParameterValue> parameters,
	Dictionary<string, string> placeholderToParameterName
)

Parameters

namedParameterFormat
Type: SystemString
The named parameter format.
parameters
Type: System.Collections.GenericICollectionDataParameterValue
The parameter values.
placeholderToParameterName
Type: System.Collections.GenericDictionaryString, String
Placeholder to parameter name mapping.

Return Value

Type: String
The query.
Exceptions
ExceptionCondition
ArgumentExceptionThe was or empty.
ArgumentNullExceptionparameters or placeholderToParameterName is .
See Also