Click or drag to resize
SimpleDataClass Methods

The SimpleDataClass type exposes the following members.

Methods
  NameDescription
Public methodClone
Clones the object.
Public methodContainsColumn
Returns true if the object contains specified column.
Public methodCopyDataTo
Copies the object data to another object.
Public methodCopyOriginalDataTo
Copies the data of the DataClass object to another.
Public methodDataChanged
Returns true if the object changed.
Public methodDelete
Deletes current record.
Public methodDelete(Boolean)
Deletes current record.
Protected methodEnsureOriginalData
Ensures the object original data to store the object state.
Public methodGetDataRow
Gets the class Data row.
Public methodGetDataSet
Gets the DataSet from the object data.
Public methodGetObjectData
Gets object data.
Public methodGetOriginalValue(Int32)
Returns the original value of column.
Public methodGetOriginalValue(String)
Returns the original value of column.
Public methodGetValue(Int32)
Gets the object value.
Public methodGetValue(String)
Gets the object value.
Public methodChangedColumns
Returns list of column names whose values were changed.
Protected methodCheckTargetClass
Checks if target data class matches this data class
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(Int32)
Returns true if the item on specified column index changed.
Public methodItemChanged(String)
Returns true if the item on specified column name 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 methodLoadMissingData
Loads the missing object data from given DataRow.
Public methodMakeComplete
Makes the object data complete.
Public methodNullMissingData
Loads the null values into the missing fields.
Public methodResetChanges
Resets the object changes and keeps the new values as unchanged.
Public methodRevertChanges
Reverts the object changes to the original values.
Protected methodSelectData
Loads data row of the current class with specified value of column (typically ID).
Protected methodSetData
Sets the specific data.
Public methodSetValue(Int32, Object)
Sets the object value.
Public methodSetValue(String, Object)
Sets the object value.
Public methodTryGetValue
Returns value of column.
Public methodUpdate
Updates current record.
Public methodUpsert
Updates or inserts the current record.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodCopyTo
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodCheckRequiredColumns
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.)
Top
See Also