IDataClass Interface |
Namespace: CMS.DataEngine
public interface IDataClass : IAdvancedDataContainer, IDataContainer, ISimpleDataContainer
The IDataClass type exposes the following members.
Name | Description | |
---|---|---|
![]() | Clone |
Returns the cloned DataClass object.
|
![]() | 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.
|
![]() | Delete(Boolean) |
Deletes current record.
|
![]() | GetDataSet |
Gets the DataSet from the object data.
|
![]() | GetOriginalValue(String) |
Returns the original value of column.
(Inherited from IAdvancedDataContainer.) |
![]() | GetOriginalValue(Int32) |
Returns the original value of column.
|
![]() | GetValue(String) |
Returns value of column.
(Inherited from ISimpleDataContainer.) |
![]() | GetValue(Int32) |
Returns value of column.
|
![]() | 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
|
![]() | Insert(Boolean) |
Inserts current record in the database
|
![]() | IsEmpty |
Returns true if the object is empty.
|
![]() | ItemChanged(String) |
Returns true if the item on specified column name changed.
(Inherited from IAdvancedDataContainer.) |
![]() | ItemChanged(Int32) |
Returns true if the item on specified column index changed.
|
![]() | LoadData(DataRow) |
Loads the object data from given DataRow.
|
![]() | LoadData(Int32) |
Loads the object data by the given primary key value
|
![]() | LoadData(Object) |
Loads the object data form the given array
|
![]() | LoadData(IDataContainer) |
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.) |
![]() | SetValue(String, Object) |
Sets value of column.
(Inherited from ISimpleDataContainer.) |
![]() | SetValue(Int32, Object) |
Sets value of column.
|
![]() | TryGetValue |
Returns value of column.
(Inherited from IDataContainer.) |
![]() | Update |
Updates current record.
|
![]() | Upsert |
Updates or inserts the current record.
|
Name | Description | |
---|---|---|
![]() | CopyTo |
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.) |
![]() | 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.) |
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.
|
![]() | Data |
Object data.
|
![]() | HasChanged |
Returns true if the object changed.
(Inherited from IAdvancedDataContainer.) |
![]() | ID |
Object ID.
|
![]() | IDColumn |
ID column.
|
![]() | IsComplete |
Returns true if the object is complete (has all columns).
(Inherited from IAdvancedDataContainer.) |
![]() | ItemString |
Gets or sets the value of the column.
(Inherited from ISimpleDataContainer.) |
![]() | ItemInt32 |
Column indexer by index.
|
![]() | StructureInfo |
Class structure information.
|
![]() | TrackChanges |
If true, the object tracks changes to its values
|
![]() | UseOriginalData |
If true, original data is used instead of the actual data.
|