IDataClass Interface |
Namespace: CMS.DataEngine
public interface IDataClass : IAdvancedDataContainer, IDataContainer, ISimpleDataContainer
The IDataClass type exposes the following members.
Name | Description | |
---|---|---|
AllowPartialUpdate |
If true, the object allows partial updates.
| |
ClassName |
Name of the data class
| |
ColumnNames |
Column names.
(Inherited from IDataContainer.) | |
ColumnsCount |
Number of the object columns.
| |
HasChanged |
Returns true if the object changed.
(Inherited from IAdvancedDataContainer.) | |
ID |
Object ID.
| |
IDColumn |
ID column(s).
| |
IsComplete |
Returns true if the object is complete (has all columns).
(Inherited from IAdvancedDataContainer.) | |
IsReadOnly |
Indicates whether class is in read-only mode.
| |
Item |
Gets or sets the value of the column.
(Inherited from ISimpleDataContainer.) | |
StructureInfo |
Class structure information.
| |
UseOriginalData |
If true, original data is used instead of the actual data.
|
Name | Description | |
---|---|---|
ContainsColumn |
Returns true if the object contains specified column.
(Inherited from IDataContainer.) | |
CopyDataTo |
Copies the class data to other data class
| |
CopyOriginalDataTo |
Copies the original class data to other data class
| |
DataChanged |
Returns true if the object changed.
(Inherited from IAdvancedDataContainer.) | |
Delete |
Deletes current record.
| |
GetDataSet |
Gets the DataSet from the object data.
| |
GetOriginalValue |
Returns the original value of column.
(Inherited from IAdvancedDataContainer.) | |
GetValue |
Returns value of column.
(Inherited from ISimpleDataContainer.) | |
ChangedColumns |
Returns list of column names which values were changed.
(Inherited from IAdvancedDataContainer.) | |
Init |
Initializes an instance of data class after created by empty constructor
| |
Insert |
Inserts current record in the database.
| |
IsEmpty |
Returns true if the object is empty.
| |
ItemChanged |
Returns true if the item on specified column name changed.
(Inherited from IAdvancedDataContainer.) | |
LoadData(Int32) |
Loads the object data by the given primary key value
| |
LoadData(IDataContainer, Boolean) |
Loads the object data from given data container.
| |
MakeComplete |
Makes the object data complete.
(Inherited from IAdvancedDataContainer.) | |
ResetChanges |
Resets the object changes and keeps the new values as unchanged.
(Inherited from IAdvancedDataContainer.) | |
RevertChanges |
Reverts the object changes to the original values.
(Inherited from IAdvancedDataContainer.) | |
SetReadOnly |
Locks the data class as a read-only
| |
SetValue |
Sets value of column.
(Inherited from ISimpleDataContainer.) | |
TryGetValue |
Returns value of column.
(Inherited from IDataContainer.) | |
Update |
Updates current record.
| |
Upsert |
Updates or inserts the current record.
|
Name | Description | |
---|---|---|
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML |
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) |