Click or drag to resize
DataRecordContainer Class
Adapts the IDataRecord interface to IDataContainer.
Inheritance Hierarchy
SystemObject
  CMS.BaseDataRecordContainer

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public class DataRecordContainer : IDataContainer, 
	ISimpleDataContainer

The DataRecordContainer type exposes the following members.

Constructors
  NameDescription
Public methodDataRecordContainer
Initializes a new instance of the DataRecordContainer class using the dataRecord provided.
Top
Properties
  NameDescription
Public propertyColumnNames
Gets a list of all column names.
Public propertyIsFromCmsDatabase
Returns true if the given data does not contain any external data (data not from CMS database).
Public propertyItem
Gets or sets the value of a column identified by its name.
Top
Methods
  NameDescription
Public methodContainsColumn
Gets a value indicating whether the record container contains the specified column.
Public methodGetValue
Gets the value of a column identified by its name, if the column exists within this record container.
Public methodSetValue
Sets the value of a column identified by its name, if the column exists within this record container.
Public methodTryGetValue
Tries to retrieve the value of a column identified by its name. The returned value indicates whether the columnName exists within this record container.
Top
Extension Methods
  NameDescription
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML(XmlWriter, Boolean)Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.)
Public Extension MethodToXML(String, Boolean)Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToXML(XmlWriter, ListString, Boolean)Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.)
Top
See Also