Click or drag to resize

DynamicQueryEngineWrapQueryInBeginEndIfNecessary Method

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

Namespace:  SD.LLBLGen.Pro.DQE.Oracle
Assemblies:   SD.LLBLGen.Pro.DQE.OracleMS (in SD.LLBLGen.Pro.DQE.OracleMS.dll) Version: 5.10.0.0 (5.10.0)
  SD.LLBLGen.Pro.DQE.OracleODPNet (in SD.LLBLGen.Pro.DQE.OracleODPNet.dll) Version: 5.10.0.0 (5.10.0)
Syntax
protected override 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