QueryDataParameters Class |
Namespace: CMS.DataEngine
public class QueryDataParameters : IEnumerable<DataParameter>, IEnumerable
The QueryDataParameters type exposes the following members.
Name | Description | |
---|---|---|
QueryDataParameters |
Constructor
|
Name | Description | |
---|---|---|
Count |
Number of the registered parameters
| |
ExistingLocalParameters |
Table of existing parameters [name -> DataParameter]
| |
ExtraLocalMacros |
Extra query macros
| |
FillDataSet |
DataSet to be filled by the query. If not given, new DataSet is created
| |
ItemInt32 |
Returns the parameter on specified index.
| |
ItemString |
Returns the parameter of the specified name.
| |
LocalParameters |
List of parameters defined locally in this instance
| |
MacroCount |
Number of macros in the data parameters
| |
ParentParameters |
Parent query parameters
| |
QueryAfter |
Text included after the query
| |
QueryBefore |
Text included before the query
| |
Source |
Source of the data
|
Name | Description | |
---|---|---|
Add(DataParameter) |
Adds the parameter into the list.
| |
Add(DataParameter, Boolean) |
Adds the parameter into the list.
| |
Add(String, Object, Boolean) |
Adds the parameter into the list.
| |
Add(String, Object, Type) |
Adds the parameter into the list.
| |
AddDateTime |
Adds the date time parameter into the list (if the date time is DateTime.MinValue, adds DBNull.Value).
| |
AddGuid |
Adds the guid parameter into the list (if the guid id Guid.Empty, adds DBNull.Value).
| |
AddId |
Adds the ID parameter into the list (if the ID is not larger than 0, adds DBNull.Value).
| |
AddMacro |
Adds the macro to the query data parameters
| |
AddUnique(DataParameter, Boolean) |
Adds the parameter into the list, if the parameter already exists, defines a unique name for it.
| |
AddUnique(String, Object, Boolean) |
Adds the parameter into the list, if the parameter already exists, defines a unique name for it.
| |
Equals |
Returns true if the object equals another object
(Overrides ObjectEquals(Object).) | |
Expand |
Expands the expression by replacing parameters with their values
| |
GetCompleteQueryText |
Gets the complete query text updated with the parameters
| |
GetEnumerator |
Gets the enumerator.
| |
GetHashCode |
Provides a hashcode for the object
(Overrides ObjectGetHashCode.) | |
GetMacros |
Gets the enumerator.
| |
IncludeDataParameters |
Adds the data parameters to the current query parameters
| |
ResolveMacros |
Resolves macros within the given query text
| |
ToArray | Obsolete.
Converts the data parameters to an array of parameters [[name, value, type], ...].
| |
ToString |
Converts the data parameter to string
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
BatchDataParameter |
Returns input in batches of batchSize size.
(Defined by BaseExtensions.) | |
ToHashSetDataParameter |
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.) | |
ToXML |
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.) |