Click or drag to resize

DynamicQueryEngineBaseWrapQueryInBeginEndIfNecessary Method

Wraps the passed in query if necessary. By default it returns the toWrap string without doing any processing.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax
protected virtual string WrapQueryInBeginEndIfNecessary(
	string toWrap,
	bool containsPackedBeginEndParts,
	int numberOfQueriesPacked
)

Parameters

toWrap
Type: SystemString
the string to wrap if necessary
containsPackedBeginEndParts
Type: SystemBoolean
set to true if the packed query in toWrap contains queries which were present in begin/end pairs
numberOfQueriesPacked
Type: SystemInt32
the number of packed insert statements in the query in toWrap

Return Value

Type: String
See Also