Click or drag to resize
IDataClass Methods

The IDataClass type exposes the following members.

Methods
  NameDescription
Public methodClone
Returns the cloned DataClass object.
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
Deletes current record.
Public methodDelete(Boolean)
Deletes current record.
Public methodGetDataSet
Gets the DataSet from the object data.
Public methodGetOriginalValue(String)
Returns the original value of column.
(Inherited from IAdvancedDataContainer.)
Public methodGetOriginalValue(Int32)
Returns the original value of column.
Public methodGetValue(String)
Returns value of column.
(Inherited from ISimpleDataContainer.)
Public methodGetValue(Int32)
Returns value of column.
Public methodChangedColumns
Returns list of column names which values were changed.
(Inherited from IAdvancedDataContainer.)
Public methodInit
Initializes an instance of data class after created by empty constructor
Public methodInsert
Inserts current record in the database
Public methodInsert(Boolean)
Inserts current record in the database
Public methodIsEmpty
Returns true if the object is empty.
Public methodItemChanged(String)
Returns true if the item on specified column name changed.
(Inherited from IAdvancedDataContainer.)
Public methodItemChanged(Int32)
Returns true if the item on specified column index changed.
Public methodLoadData(DataRow)
Loads the object data from given DataRow.
Public methodLoadData(Int32)
Loads the object data by the given primary key value
Public methodLoadData(Object)
Loads the object data form the given array
Public methodLoadData(IDataContainer)
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 methodSetValue(String, Object)
Sets value of column.
(Inherited from ISimpleDataContainer.)
Public methodSetValue(Int32, Object)
Sets value of column.
Public methodTryGetValue
Returns value of column.
(Inherited from IDataContainer.)
Public methodUpdate
Updates current record.
Public methodUpsert
Updates or inserts the current record.
Top
Extension Methods
  NameDescription
Public Extension MethodCopyTo
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.)
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
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Top
See Also