IDataClass Methods |
The IDataClass type exposes the following members.
Name | Description | |
---|---|---|
ChangedColumns |
Returns list of column names which values were changed.
(Inherited from IAdvancedDataContainer.) | |
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.) | |
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(XmlWriter, Boolean) | Overloaded.
Writes XML representation of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) | |
ToXML(String, Boolean) | Overloaded.
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToXML(XmlWriter, ListString, Boolean) | Overloaded.
Writes XML representation of selected columns of current instance of IDataContainer to provided XmlWriter.
(Defined by DataExtensions.) |