ObjectDataSetTObject Class |
Namespace: CMS.DataEngine
public abstract class ObjectDataSet<TObject> : DataSet, IReadOnlyFlag, IEnumerable<TObject>, IEnumerable where TObject : class
The ObjectDataSetTObject type exposes the following members.
Name | Description | |
---|---|---|
ObjectDataSetTObject |
Constructor
| |
ObjectDataSetTObject(DataSet) |
Constructor, creates new DataSet using data from the given DataSet
|
Name | Description | |
---|---|---|
GetEnumerator |
Returns the strongly typed enumerator for this collection
| |
GetObjectEnumerator |
Gets the object enumerator for the collection
| |
NewCollection |
Creates new collection of the objects
|
Name | Description | |
---|---|---|
AsInfoType |
Converts the DataSet to a strongly typed one
(Defined by DataExtensions.) | |
AsModifyable |
Ensures that the given DataSet is not cached, copies the data if it is
(Defined by DataExtensions.) | |
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
BatchTObject |
Returns input in batches of batchSize size.
(Defined by BaseExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDictionaryById |
Converts the DataSet to a dictionary indexed by object ID
(Defined by DataExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToHashSetTObject |
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToJSON(Boolean) | Overloaded.
Exports DataSet to JSON string.
(Defined by DataExtensions.) | |
ToJSON(String, Boolean) | Overloaded.
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.) | |
ToListTObject, TTo |
Converts the given collection to a list of values
(Defined by BaseExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToXML |
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.) | |
TryReadXml |
Tries to read xml and load the data from it to the DataSet via standard .NET method. If the load fails, it removes all the forbidden whitespace charactes and tries it again.
(Defined by HelpersExtensions.) |
Name | Description | |
---|---|---|
IsReadOnly |
If true, the dataset is cached (not allowed to modify, must be cloned)
| |
Items |
Items in the DataSet
|