Click or drag to resize
DataTableContainer Class
Object encapsulating DataTable objects to be accessible via macro engine.
Inheritance Hierarchy
SystemObject
  CMS.BaseDataTableContainer

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

The DataTableContainer type exposes the following members.

Constructors
  NameDescription
Public methodDataTableContainer
Creates new instance of DataTableContainer.
Top
Properties
  NameDescription
Public propertyColumnNames
Column names.
Public propertyDataTable
Gets the encapsulated DataTable.
Public propertyItem
Gets the value of the column, setter is not implemented.
Top
Methods
  NameDescription
Public methodContainsColumn
Returns true if the object contains specified column.
Public methodGetValue
Gets or sets the value of the column.
Public methodSetValue
Not implemented.
Public methodTryGetValue
Returns value of column.
Top
Extension Methods
  NameDescription
Public Extension MethodCopyTo
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.)
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
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Top
See Also