InfoDataSetTInfo Class |
Namespace: CMS.DataEngine
public class InfoDataSet<TInfo> : ObjectDataSet<BaseInfo>, IEnumerable<TInfo>, IInfoDataSet, IEnumerable where TInfo : BaseInfo
The InfoDataSetTInfo type exposes the following members.
Name | Description | |
---|---|---|
InfoDataSetTInfo |
Constructor
| |
InfoDataSetTInfo(DataSet) |
Constructor, creates new DataSet using data from the given DataSet
| |
InfoDataSetTInfo(TInfo) |
Constructor
|
Name | Description | |
---|---|---|
Clone |
Clones the DataSet
| |
GetEnumerator |
Gets the strongly typed enumerator for the collection
| |
GetNewObject |
Gets new instance of the object hosted in this DataSet
| |
GetObjectEnumerator |
Gets the object enumerator for the collection
(Inherited from ObjectDataSetTObject.) | |
NewCollection |
Creates new collection of the objects
(Overrides ObjectDataSetTObjectNewCollection.) |
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.) | |
BatchTInfo |
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.) | |
ToHashSetTInfo |
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.) | |
ToListTInfo, 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 | |
---|---|---|
mItems |
Items in the DataSet
(Inherited from ObjectDataSetTObject.) |
Name | Description | |
---|---|---|
IsReadOnly |
If true, the dataset is cached (not allowed to modify, must be cloned)
(Inherited from ObjectDataSetTObject.) | |
Items |
Items in the DataSet
|