Click or drag to resize

QueryParameterHelper Class

Helper class for parsing SQL and sql parameters or DAX and dax parameters. Notes: the class is currently used by SqlDataProducer and DataSourceController
Inheritance Hierarchy
SystemObject
  Omada.OE.AppLogic.HelpersQueryParameterHelper

Namespace:  Omada.OE.AppLogic.Helpers
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public class QueryParameterHelper

The QueryParameterHelper type exposes the following members.

Constructors
  NameDescription
Public methodQueryParameterHelper
Instantiate the object with the query and a dictionary over supported parameters
Top
Properties
  NameDescription
Public propertyOISDataBaseName
Returns the database name/catalog for the ois database
Top
Methods
  NameDescription
Public methodApplyParameters
Will apply the parameters to the SQL and to the command
Public methodStatic memberParseParameterType
Parse a string to a parameter type. The string must be equal to the enum type
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also