The SimpleDataClass type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
SimpleDataClass | Obsolete.
Empty constructor.
| |
SimpleDataClass(Boolean) |
Internally visible constructor
| |
SimpleDataClass(SerializationInfo, StreamingContext) |
Constructor for deserialization.
|
Methods
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.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDataRow |
Gets the class Data row.
| |
GetDataSet |
Gets the DataSet from the object data.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetObjectData |
Gets object data.
| |
GetOriginalValue(Int32) |
Returns the original value of column.
| |
GetOriginalValue(String) |
Returns the original value of column.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue |
Returns value of column.
| |
Update |
Updates current record.
|
Extension Methods
Name | Description | |
---|---|---|
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.) |
Fields
Name | Description | |
---|---|---|
mConnection |
General connection object used to access data.
| |
mData |
Object data.
| |
mOriginalData |
Object original data.
| |
mStructureInfo |
Class structure info.
|
Properties
Name | Description | |
---|---|---|
AllowPartialUpdate |
If true, the object allows partial updates.
| |
ClassName |
Object class name.
| |
ColumnNames |
Column names.
| |
ColumnsCount |
Number of the object columns.
| |
Data |
Object data.
| |
HasChanged |
Returns true if the object changed.
| |
ID |
Object ID.
| |
IDColumn |
ID column.
| |
IsComplete |
Returns true if the object is complete (has all columns).
| |
Item Int32 |
Column indexer, gets or sets the value in specified column index.
| |
Item String |
Column indexer, gets or sets the value in specified column name.
| |
StructureInfo |
Class structure info.
| |
TrackChanges |
If true, the object tracks changes to its values
| |
UseOriginalData |
If true, original data is used instead of the actual data.
|
See Also