SimpleDataClass Methods |
The SimpleDataClass type exposes the following members.
Name | Description | |
---|---|---|
Clone |
Clones the object.
| |
ContainsColumn |
Returns true if the object contains specified column.
| |
CopyDataTo |
Copies the object data to another object.
| |
CopyOriginalDataTo |
Copies the data of the DataClass object to another.
| |
DataChanged |
Returns true if the object changed.
| |
Delete |
Deletes current record.
| |
Delete(Boolean) |
Deletes current record.
| |
EnsureOriginalData |
Ensures the object original data to store the object state.
| |
GetDataRow |
Gets the class Data row.
| |
GetDataSet |
Gets the DataSet from the object data.
| |
GetObjectData |
Gets object data.
| |
GetOriginalValue(Int32) |
Returns the original value of column.
| |
GetOriginalValue(String) |
Returns the original value of column.
| |
GetValue(Int32) |
Gets the object value.
| |
GetValue(String) |
Gets the object value.
| |
ChangedColumns |
Returns list of column names whose values were changed.
| |
CheckTargetClass |
Checks if target data class matches this data class
| |
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(Int32) |
Returns true if the item on specified column index changed.
| |
ItemChanged(String) |
Returns true if the item on specified column name 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.
| |
LoadMissingData |
Loads the missing object data from given DataRow.
| |
MakeComplete |
Makes the object data complete.
| |
NullMissingData |
Loads the null values into the missing fields.
| |
ResetChanges |
Resets the object changes and keeps the new values as unchanged.
| |
RevertChanges |
Reverts the object changes to the original values.
| |
SelectData |
Loads data row of the current class with specified value of column (typically ID).
| |
SetData |
Sets the specific data.
| |
SetValue(Int32, Object) |
Sets the object value.
| |
SetValue(String, Object) |
Sets the object value.
| |
TryGetValue |
Returns value of column.
| |
Update |
Updates current record.
| |
Upsert |
Updates or inserts the current record.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
CopyTo |
Copies the data of specified columns of the source object to the target object.
(Defined by DataExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
CheckRequiredColumns |
Returns true if given list of columns do not have null values in the object
(Defined by DataExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IDataContainer.
(Defined by DataExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToXML |
Returns XML representation of current instance of IDataContainer.
(Defined by DataExtensions.) |