Open this page in the API Guide

ProviderExpression.GetQuery Method (String, ICollection<DataParameterValue>, Dictionary<String, 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 (25.1.0.1000)
Syntax
public string GetQuery(
	string namedParameterFormat,
	ICollection<DataParameterValue> parameters,
	Dictionary<string, string> placeholderToParameterName
)

Parameters

namedParameterFormat
Type: System.String
The named parameter format.
parameters
Type: System.Collections.Generic.ICollection<DataParameterValue>
The parameter values.
placeholderToParameterName
Type: System.Collections.Generic.Dictionary<String, String>
Placeholder to parameter name mapping.

Return Value

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