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.11.0.0 (5.11.23.1114)
Syntax protected virtual IActionQuery CreateActionQueryFromSQL(
DbConnection connectionToUse,
string sqlQuery,
Object parameterValues
)
Protected Overridable Function CreateActionQueryFromSQL (
connectionToUse As DbConnection,
sqlQuery As String,
parameterValues As Object
) As IActionQuery
Parameters
- connectionToUse
- Type: System.Data.CommonDbConnection
The connection to use. - sqlQuery
- 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. - parameterValues
- 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