DataExtensions Class |
Namespace: CMS.DataEngine
public static class DataExtensions
The DataExtensions type exposes the following members.
Name | Description | |
---|---|---|
AddRangeT |
Adds range of items to hashset.
| |
AsInfoType |
Converts the DataSet to a strongly typed one
| |
AsIndexableTKey, TValue |
Implicit conversion to indexable type with a specific values
| |
AsModifyable |
Ensures that the given DataSet is not cached, copies the data if it is
| |
CombineWith(AuthorizationResultEnum, AuthorizationResultEnum) |
Combines the authorization result enum with a bool result
| |
CombineWith(AuthorizationResultEnum, Boolean) |
Combines the authorization result enum with a bool result
| |
Compare | Obsolete.
Compares two BaseInfo objects (data & structure) according to comparison settings given.
| |
GetNamedEnumeratorT |
Name enumerator over a collection
| |
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
| |
ToAuthorizationResultEnum |
Convert the boolean value to a AuthorizationResultEnum, outputs Allowed or Denied based on the bool value.
| |
ToBoolean |
Convert the authorization result to a boolean value representing allow / deny. Insignificant means deny.
| |
ToDictionaryById(IEnumerableBaseInfo) |
Converts the list of objects to a dictionary indexed by object ID
| |
ToDictionaryById(DataSet, String) |
Converts the DataSet to a dictionary indexed by object ID
| |
ToHashSetT |
Converts the list of objects to a hash set of distinct values
| |
ToJSON(DataSet, Boolean) |
Exports DataSet to JSON string.
| |
ToJSON(DataTable, Boolean) |
Exports DataSet to JSON string.
| |
ToJSON(IEnumerable, String, Boolean) |
Returns JSON representation of current instance of IEnumerable.
| |
ToJSON(IDataContainer, String, Boolean) |
Returns JSON representation of current instance of IDataContainer.
| |
ToXML(IEnumerable, String, Boolean) |
Returns XML representation of current instance of IEnumerable.
| |
ToXML(IDataContainer, String, Boolean) |
Returns XML representation of current instance of IDataContainer.
| |
UseTransaction |
Ensures that the event uses transaction
| |
WhenColumnValue |
Adds the condition for the column value to the factory
| |
WithT |
Sets up the object using the given lambda expression
|