Click or drag to resize

DbRecord Class

X#
This class is used by the DbDataSource class to represent the records in a workarea.
Inheritance Hierarchy
Object
  DbRecord

Namespace:  XSharp
Assembly:  XSharp.Data (in XSharp.Data.dll) Version: 2.19
Syntax
 CLASS DbRecord IMPLEMENTS INotifyPropertyChanged, 
	IDbRow
Request Example View Source

The DbRecord type exposes the following members.

Constructors
  NameDescription
Public methodDbRecord
Initializes a new instance of the DbRecord class
Top
Properties
  NameDescription
Public propertyDeleted
Is the current record deleted ?
Public propertyFieldName
Get the fieldname for a certain field position
Public propertyFieldValue
Get the value for a certain field position
Public propertyItemLong
Read/Write fields in the workarea by position.
Public propertyItemString
Read/Write fields in the workarea by name.
Public propertyRecNo
Record number in the workarea. Does not have to match the logical position in the list.
Top
Methods
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
Top
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