InfoDataSetTInfo Class |
Namespace: CMS.DataEngine
public class InfoDataSet<TInfo> : DataSet, IReadOnlyFlag, 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.
Removes data from the original data set.
| |
InfoDataSetTInfo(TInfo) |
Constructor
|
Name | Description | |
---|---|---|
IsReadOnly |
If true, the dataset is cached (not allowed to modify, must be cloned)
| |
Items |
Items in the DataSet
|
Name | Description | |
---|---|---|
AddItems |
Adds the items to the data set
| |
Clone |
Clones the DataSet
| |
CreateEmptyDataSet |
Creates the empty DataSet based on the current type
| |
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
| |
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.) | |
BatchTInfo |
Returns input in batches of batchSize size.
(Defined by BaseExtensions.) | |
ToContactList |
Converts ContactInfoDataSet into list.
(Defined by ContactDataSetExtensions.) | |
ToDictionaryById |
Converts the DataSet to a dictionary indexed by object ID
(Defined by DataExtensions.) | |
ToHashSetTInfo |
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.) | |
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.) | |
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 characters and tries it again.
(Defined by HelpersExtensions.) |