DbRecord Class | |
This class is used by the DbDataSource class to represent the records in a workarea.
Inheritance Hierarchy
Namespace:
XSharp
Assembly:
XSharp.Data (in XSharp.Data.dll) Version: 2.19
Syntax CLASS DbRecord IMPLEMENTS INotifyPropertyChanged,
IDbRow
public class DbRecord : INotifyPropertyChanged, IDbRow
Request Example
View SourceThe DbRecord type exposes the following members.
Constructors
| Name | Description |
---|
| DbRecord | Initializes a new instance of the DbRecord class |
TopProperties
| Name | Description |
---|
| Deleted | Is the current record deleted ? |
| FieldName | Get the fieldname for a certain field position |
| FieldValue | Get the value for a certain field position |
| ItemLong | Read/Write fields in the workarea by position. |
| ItemString | Read/Write fields in the workarea by name. |
| RecNo | Record number in the workarea. Does not have to match the logical position in the list. |
TopMethods Events Remarks The record class exposes the fields in the workarea as 'pseudo' properties of these fields.
The DbRecord class also implements INotifyPropertychanged, so when the record is bound to a data aware control
then this control will 'see' changes that were made to the record.
See Also