Click or drag to resize
DataQuerySource Class
Base class for Data query source
Inheritance Hierarchy

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public abstract class DataQuerySource

The DataQuerySource type exposes the following members.

Constructors
  NameDescription
Protected methodDataQuerySource
Top
Methods
  NameDescription
Protected methodGetConnectionStringName
Gets the connection string name
Public methodGetCount
Returns the number of rows in the result queried by this data source if GetData is called with the same parameters
Public methodGetData
Gets the data for data query
Protected methodGetDataSourceName
Gets the unique query source ID
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Public fieldStatic memberCMSDATABASE
Specifies default CMS database as a source
Public fieldStatic memberDATABASE_PREFIX
Specifies database as a source
Public fieldStatic memberMATERIALIZED
Specifies source for a materialized query within a database
Public fieldStatic memberMEMORY_PREFIX
Specifies memory as a source
Top
Properties
  NameDescription
Public propertyConnectionStringName
Connection string name
Public propertyDataSourceName
Gets the unique query source ID
Top
See Also