Click or drag to resize
IDataClass Methods

The IDataClass type exposes the following members.

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