QueryDataParameters Methods |
The QueryDataParameters type exposes the following members.
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.
| |
GetUpdateQueryColumns | Obsolete.
Gets the columns representation for the update query in the form of Column1 = @Column1, Column2 = @Column2, etc.
| |
IncludeDataParameters |
Adds the data parameters to the current query parameters
| |
ResolveMacros |
Resolves macros within the given query text
| |
ToArray |
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.) | |
ToListDataParameter, TTo |
Converts the given collection to a list of values
(Defined by BaseExtensions.) | |
ToXML |
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.) |