Click or drag to resize
IDataClass Interface
DataClass interface.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public interface IDataClass : IAdvancedDataContainer, 
	IDataContainer, ISimpleDataContainer

The IDataClass type exposes the following members.

Properties
  NameDescription
Public propertyAllowPartialUpdate
If true, the object allows partial updates.
Public propertyClassName
Name of the data class
Public propertyColumnNames
Column names.
(Inherited from IDataContainer.)
Public propertyColumnsCount
Number of the object columns.
Public propertyHasChanged
Returns true if the object changed.
(Inherited from IAdvancedDataContainer.)
Public propertyID
Object ID.
Public propertyIDColumn
ID column(s).
Public propertyIsComplete
Returns true if the object is complete (has all columns).
(Inherited from IAdvancedDataContainer.)
Public propertyIsReadOnly
Indicates whether class is in read-only mode.
Public propertyItem
Gets or sets the value of the column.
(Inherited from ISimpleDataContainer.)
Public propertyStructureInfo
Class structure information.
Public propertyUseOriginalData
If true, original data is used instead of the actual data.
Top
Methods
  NameDescription
Public methodChangedColumns
Returns list of column names which values were changed.
(Inherited from IAdvancedDataContainer.)
Public methodContainsColumn
Returns true if the object contains specified column.
(Inherited from IDataContainer.)
Public methodCopyDataTo
Copies the class data to other data class
Public methodCopyOriginalDataTo
Copies the original class data to other data class
Public methodDataChanged
Returns true if the object changed.
(Inherited from IAdvancedDataContainer.)
Public methodDelete Obsolete.
Deletes current record.
Public methodGetDataSet
Gets the DataSet from the object data.
Public methodGetOriginalValue
Returns the original value of column.
(Inherited from IAdvancedDataContainer.)
Public methodGetValue
Returns value of column.
(Inherited from ISimpleDataContainer.)
Public methodInit
Initializes an instance of data class after created by empty constructor
Public methodInsert Obsolete.
Inserts current record in the database.
Public methodIsEmpty
Returns true if the object is empty.
Public methodItemChanged
Returns true if the item on specified column name changed.
(Inherited from IAdvancedDataContainer.)
Public methodLoadData(Int32)
Loads the object data by the given primary key value
Public methodLoadData(IDataContainer, Boolean)
Loads the object data from given data container.
Public methodMakeComplete
Makes the object data complete.
(Inherited from IAdvancedDataContainer.)
Public methodResetChanges
Resets the object changes and keeps the new values as unchanged.
(Inherited from IAdvancedDataContainer.)
Public methodRevertChanges
Reverts the object changes to the original values.
(Inherited from IAdvancedDataContainer.)
Public methodSetReadOnly
Locks the data class as a read-only
Public methodSetValue
Sets value of column.
(Inherited from ISimpleDataContainer.)
Public methodTryGetValue
Returns value of column.
(Inherited from IDataContainer.)
Public methodUpdate Obsolete.
Updates current record.
Public methodUpsert Obsolete.
Updates or inserts the current record.
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