| QueryParameterHelperApplyParameters Method |
Will apply the parameters to the SQL and to the command
Namespace:
Omada.OE.AppLogic.Helpers
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic string ApplyParameters(
Dictionary<string, Object> parameters,
IDbCommand command,
SqlConnection dbConnection = null,
SqlTransaction dbTransaction = null,
bool allowUndefinedParameters = false
)
Parameters
- parameters
- Type: System.Collections.GenericDictionaryString, Object
A dictionary of the parameters to apply to the sql and command - command
- Type: System.DataIDbCommand
A instantiated SqlCommand object - dbConnection (Optional)
- Type: System.Data.SqlClientSqlConnection
A SqlConnection to use for temporary tables - dbTransaction (Optional)
- Type: System.Data.SqlClientSqlTransaction
A SqlTransaction to use for temporary tables - allowUndefinedParameters (Optional)
- Type: SystemBoolean
Return Value
Type:
Stringthe modified SQL string
See Also