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: 8.2.23
Syntax
C#
public static class DataExtensions

The DataExtensions type exposes the following members.

Methods
  NameDescription
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 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 memberCompare
Compares two BaseInfo objects (data & structure) according to comparison settings given.
Public methodStatic memberCopyTo
Copies the data of specified columns of the source object to the target object.
Public methodStatic memberGetNamedEnumeratorT
Name enumerator over a collection
Public methodStatic memberCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
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(IEnumerableT, IEqualityComparerT)
Converts the list of objects to a hash set of distinct values
Public methodStatic memberToHashSetT, TSource(IEnumerableTSource, FuncTSource, T, IEqualityComparerT)
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 memberUseTransaction
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