Click or drag to resize
DynamicQueryEngineBaseCreateActionQueryFromSQL Method
Creates the action query from the sql query specified using the parameter values specified.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: (5.3.0)
protected virtual IActionQuery CreateActionQueryFromSQL(
	DbConnection connectionToUse,
	string sqlQuery,
	Object parameterValues


Type: System.Data.CommonDbConnection
The connection to use.
Type: SystemString
The SQL query to execute. Should contain parameter names for the parameter values, or placeholders for parameter sets. See documentation for details regarding format specifics.
Type: SystemObject
The object containing the parameter values to use in the query. If it's an object array, parameters using ordening are assumed, otherwise for each public, non-static property, a parameter is created.

Return Value

Type: IActionQuery
ready to use IActionQuery object
See Also