DbRecord 类 | |
This class is used by the DbDataSource class to represent the records in a workarea.
继承层次 Object
DbRecord
命名空间:
XSharp
程序集:
XSharp.Data (在 XSharp.Data.dll 中) 版本:2.22 GA
语法 CLASS DbRecord IMPLEMENTS INotifyPropertyChanged,
IDbRow
public class DbRecord : INotifyPropertyChanged, IDbRow
查看代码DbRecord 类型公开以下成员。
构造函数
| 名称 | 说明 |
---|
| DbRecord | Initializes a new instance of the DbRecord class |
Top属性
| 名称 | 说明 |
---|
| Deleted | Is the current record deleted ? |
| FieldName | Get the fieldname for a certain field position |
| FieldValue | Get the value for a certain field position |
| ItemInt32 | 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. |
Top方法 事件 备注 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.
参见