Click or drag to resize
QueryDataParametersAddUnique Method (DataParameter, Boolean)
Adds the parameter into the list, if the parameter already exists, defines a unique name for it.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public DataParameter AddUnique(
	DataParameter par,
	bool mergeSameParameters = true
)

Parameters

par
Type: CMS.DataEngineDataParameter
Parameter to add
mergeSameParameters (Optional)
Type: SystemBoolean
If true, the process merges the parameters with same name and value into one

Return Value

Type: DataParameter
See Also