点击或拖拽改变大小

CoreDb 类

X#
The CoreDb class contains the methods to manipulate Workareas.
The class is stateless. The Workarea state is stored in the RuntimeState.
继承层次
Object
  CoreDb
    VoDb

命名空间:  XSharp
程序集:  XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法
 CLASS CoreDb
查看代码

CoreDb 类型公开以下成员。

构造函数
  名称说明
公共方法CoreDb
初始化 CoreDb 类的一个新实例
Top
方法
  名称说明
公共方法静态成员_ErrInfoPtr
Return exception object from last RDD operation.
公共方法静态成员Alias
Return the alias of a specified work area as a string.
公共方法静态成员Append
Add a new record.
公共方法静态成员BlobInfo(UInt32, UInt32, Object)
Retrieve information about a memo column.
公共方法静态成员BlobInfo(UInt32, UInt32, Object)
Retrieve information about a memo column.
公共方法静态成员Bof
Determine when beginning-of-file is encountered.
公共方法静态成员BuffRefresh
Refresh the buffer for the current Workarea, discarding any changes that were made.
公共方法静态成员ClearFilter
Clear a logical filter condition.
公共方法静态成员ClearLocate
Clear a locate condition by deleting the locate code block.
公共方法静态成员ClearRelation
Clear any active relations.
公共方法静态成员ClearScope
Clear the active locate condition.
公共方法静态成员CloseAll
Close all files in all work areas.
公共方法静态成员CloseArea
Close all files in a work area.
公共方法静态成员Commit
Flush pending updates in one work area.
公共方法静态成员CommitAll
Flush pending updates in all work areas.
公共方法静态成员Continue
Resume a pending locate condition.
公共方法静态成员Create(String, RddFieldInfo, String, Boolean, String, String, Boolean, Boolean)
Create new file through the specified RDDs
公共方法静态成员Create(String, RddFieldInfo, Type, Boolean, String, String, Boolean, Boolean)
Create new file through the specified RDDs
公共方法静态成员Create(String, RddFieldInfo, _RddList, Boolean, String, String, Boolean, Boolean)
Create new file through the specified RDDs
公共方法静态成员Dbf
Return the name of the alias.
公共方法静态成员Delete
Mark the current record for deletion.
公共方法静态成员Deleted
Return the deleted status of the current record.
公共方法静态成员Eof
Determine when end-of-file is encountered.
公共方法静态成员Eval
Evaluate a code block for each record that matches a specified scope and/or condition.
公共方法静态成员FCount
Return the number of fields in the current Workarea
公共方法静态成员FieldGet
Retrieve the value of a specified database field.
公共方法静态成员FieldGetBytes
Retrieve the value of a specified database field as an array of bytes
公共方法静态成员FieldInfo(UInt32, UInt32, Object)
Retrieve and optionally change information about a column.
公共方法静态成员FieldInfo(UInt32, UInt32, Object)
Retrieve and optionally change information about a column.
公共方法静态成员FieldName
Return the name of a field as a string.
公共方法静态成员FieldPos
Return the position of a field.
公共方法静态成员FieldPut
Set the value of a specified database field.
公共方法静态成员FieldPutBytes
Retrieve the value of a specified database field as an array of bytes
公共方法静态成员FileGet
Import contents from file into Memo field
公共方法静态成员FilePut
Export field contents from Memo field to file
公共方法静态成员Filter
Return a filter.
公共方法静态成员Flock
Lock an opened and shared database file.
公共方法静态成员Found
Determine if the previous search operation succeeded.
公共方法静态成员GetScope
Gets the locate condition.
公共方法静态成员GetSelect
Return the work area number.
公共方法静态成员GoBottom
Move to the last logical record.
公共方法静态成员Goto
Move to a record specified by record number.
公共方法静态成员GoTop
Move to the first logical record.
公共方法静态成员Header
公共方法静态成员Info(UInt32, Object)
Retrieve information about a work area.
公共方法静态成员Info(UInt32, Object)
Retrieve information about a work area.
公共方法静态成员JoinAppend
Write values to destination Workarea in a JOIN operation
公共方法静态成员LastRec
Return the number of the last record in a database file.
公共方法静态成员Locate
Search for the first record that matches a specified condition and scope.
公共方法静态成员MemoExt
Return Memo File extension
公共方法静态成员OrdBagExt
Return the default index file extension for a work area as defined by the its RDD.
公共方法静态成员OrdCondSet
Set the condition and scope for an order.
公共方法静态成员OrdCreate
Create or replace an order in an index file.
公共方法静态成员OrdDestroy
Remove an order from an open index file.
公共方法静态成员OrderInfo(UInt32, String, Object, Object)
Return information about index files and the orders in them.
公共方法静态成员OrderInfo(UInt32, String, Object, Object)
Return information about index files and the orders in them.
公共方法静态成员OrdListAdd
Open an index file and add specified orders to the order list in a work area.
公共方法静态成员OrdListClear
Remove orders from the order list in a work area and close associated index files.
公共方法静态成员OrdListRebuild
Rebuild all orders in the order list of a work area.
公共方法静态成员OrdSetFocus(String, Object)
Set the controlling order for a work area.
公共方法静态成员OrdSetFocus(String, Object, String)
Set the controlling order for a work area.
公共方法静态成员Pack
Remove all records that have been marked for deletion from a database file.
公共方法静态成员RddCount
公共方法静态成员RddInfo(UInt32, Object)
Return and optionally change settings controlled directly by the RDD.
公共方法静态成员RddInfo(UInt32, Object)
Return and optionally change settings controlled directly by the RDD.
公共方法静态成员RddList
Returns list of RDD names that are in use at this moment
公共方法静态成员RddList(_RddList, UInt32) 已过时。
公共方法静态成员RddName
Return an RDD name.
公共方法静态成员RddSetDefault
Return and optionally change the default RDD for the application.
公共方法静态成员Recall
Restore the current record if it is marked for deletion.
公共方法静态成员Recno
Return the current record number.
公共方法静态成员RecordGet
Get the contents of the current record as an array of bytes
公共方法静态成员RecordInfo(UInt32, Object, Object)
Retrieve information about a record.
公共方法静态成员RecordInfo(UInt32, Object, Object)
Retrieve information about a record.
公共方法静态成员RecordPut
Update the current record from an array of bytes
公共方法静态成员RecSize
Return the record length in the current Workarea
公共方法静态成员Refresh
Discard all the changes to the current workares
公共方法静态成员Relation
Return the linking expression of a specified relation.
公共方法静态成员RLock
Lock the current record.
公共方法静态成员RSelect
Return the work area number of a relation.
公共方法静态成员Seek
Move to the record having the specified key value.
公共方法静态成员Select
Select a new work area and retrieve the current work area.
公共方法静态成员SetFilter
Set a filter condition.
公共方法静态成员SetFound
Set the found flag.
公共方法静态成员SetLocate
Specify the code block for a locate condition.
公共方法静态成员SetRelation
Relate a specified work area to the current work area.
公共方法静态成员SetScope
Set the locate condition.
公共方法静态成员SetSelect
Select a new work area.
公共方法静态成员Skip
Move the record pointer relative to the current record.
公共方法静态成员SkipScope
Position the cursor relative to its current position within the current scope.
公共方法静态成员Sort
Copy records to a database file in sorted order.
公共方法静态成员SymSelect
Select a new work area by specifying its alias as a string and return the number of the current work area.
公共方法静态成员Trans
Copy one or more rows from one work area to another.
公共方法静态成员TransRec
Copy a single row from one work area to another.
公共方法静态成员Unlock
Release all locks for a work area.
公共方法静态成员UnlockAll
Release all locks for all work areas.
公共方法静态成员UseArea(Boolean, String, String, String, Boolean, Boolean)
Open a database file.
公共方法静态成员UseArea(Boolean, Type, String, String, Boolean, Boolean)
Open a database file.
公共方法静态成员UseArea(Boolean, _RddList, String, String, Boolean, Boolean)
Open a database file.
公共方法静态成员Zap
Remove all records from the current Workarea.
Top
事件
  名称说明
公共事件静态成员Notify
An event to which you can subscribe to be notified of operations on Workareas.
Top
参见