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.11.0.0 (5.11.23.1114)
Syntax protected virtual string WrapQueryInBeginEndIfNecessary(
string toWrap,
bool containsPackedBeginEndParts,
int numberOfQueriesPacked
)
Protected Overridable Function WrapQueryInBeginEndIfNecessary (
toWrap As String,
containsPackedBeginEndParts As Boolean,
numberOfQueriesPacked As Integer
) As String
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:
StringSee Also