Click or drag to resize
InfoDataSetTInfo Class
CMS DataSet class. Enhancement to DataSet to provide strongly typed collection side-by-side with the data.
Inheritance Hierarchy
SystemObject
  System.ComponentModelMarshalByValueComponent
    System.DataDataSet
      CMS.DataEngineObjectDataSetBaseInfo
        CMS.DataEngineInfoDataSetTInfo

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public class InfoDataSet<TInfo> : ObjectDataSet<BaseInfo>, 
	IEnumerable<TInfo>, IInfoDataSet, IEnumerable
where TInfo : BaseInfo

Type Parameters

TInfo

The InfoDataSetTInfo type exposes the following members.

Constructors
Methods
Extension Methods
  NameDescription
Public Extension MethodAsInfoType
Converts the DataSet to a strongly typed one
(Defined by DataExtensions.)
Public Extension MethodAsModifyable
Ensures that the given DataSet is not cached, copies the data if it is
(Defined by DataExtensions.)
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodBatchTInfo
Returns input in batches of batchSize size.
(Defined by BaseExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDictionaryById
Converts the DataSet to a dictionary indexed by object ID
(Defined by DataExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToHashSetTInfo
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToJSON(Boolean)Overloaded.
Exports DataSet to JSON string.
(Defined by DataExtensions.)
Public Extension MethodToJSON(String, Boolean)Overloaded.
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToListTInfo, TTo
Converts the given collection to a list of values
(Defined by BaseExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodTryReadXml
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.)
Top
Fields
Properties
See Also