Click or drag to resize
DataExtensions Class
Extensions for the SettingsProvider classes
Inheritance Hierarchy
SystemObject
  CMS.DataEngineDataExtensions

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public static class DataExtensions

The DataExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddRangeT
Adds range of items to hashset.
Public methodStatic memberAsInfoType
Converts the DataSet to a strongly typed one
Public methodStatic memberAsIndexableTKey, TValue
Implicit conversion to indexable type with a specific values
Public methodStatic memberAsModifyable
Ensures that the given DataSet is not cached, copies the data if it is
Public methodStatic memberCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
Public methodStatic memberCombineWith(AuthorizationResultEnum, AuthorizationResultEnum)
Combines the authorization result enum with a bool result
Public methodStatic memberCombineWith(AuthorizationResultEnum, Boolean)
Combines the authorization result enum with a bool result
Public methodStatic memberGetNamedEnumeratorT
Name enumerator over a collection
Public methodStatic memberToAuthorizationResultEnum
Convert the boolean value to a AuthorizationResultEnum, outputs Allowed or Denied based on the bool value.
Public methodStatic memberToBoolean
Convert the authorization result to a boolean value representing allow / deny. Insignificant means deny.
Public methodStatic memberToDictionaryById(IEnumerableBaseInfo)
Converts the list of objects to a dictionary indexed by object ID
Public methodStatic memberToDictionaryById(DataSet, String)
Converts the DataSet to a dictionary indexed by object ID
Public methodStatic memberToHashSetT
Converts the list of objects to a hash set of distinct values
Public methodStatic memberToJSON(DataSet, Boolean)
Exports DataSet to JSON string.
Public methodStatic memberToJSON(DataTable, Boolean)
Exports DataSet to JSON string.
Public methodStatic memberToJSON(IEnumerable, String, Boolean)
Returns JSON representation of current instance of IEnumerable.
Public methodStatic memberToJSON(IDataContainer, String, Boolean)
Returns JSON representation of current instance of IDataContainer.
Public methodStatic memberToXML(IEnumerable, String, Boolean)
Returns XML representation of current instance of IEnumerable.
Public methodStatic memberToXML(IDataContainer, String, Boolean)
Returns XML representation of current instance of IDataContainer.
Public methodStatic memberToXML(IDataContainer, XmlWriter, Boolean)
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
Public methodStatic memberToXML(IDataContainer, XmlWriter, ListString, Boolean)
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
Public methodStatic memberUseTransaction Obsolete.
Ensures that the event uses transaction
Public methodStatic memberWhenColumnValue
Adds the condition for the column value to the factory
Public methodStatic memberWithT
Sets up the object using the given lambda expression
Top
See Also