Метод | Описание | |
---|---|---|
AddCursor ( |
Adds a Cursor to the Cursor list
|
|
Close ( ) : void |
Closes the Database This method wraps the native ups_db_close function. |
|
Database ( ) : System |
Default Constructor
|
|
Dispose ( ) : void |
Closes the Database
|
|
Erase ( |
Erases a Database Item This method wraps the native ups_db_erase function. |
|
Erase ( byte key ) : void |
Erases a Database Item
|
|
Find ( |
Searches an item in the Database, returns the record
|
|
Find ( |
Searches an item in the Database, returns the record This method wraps the native ups_db_find function. |
|
Find ( byte key ) : byte[] |
Searches an item in the Database, returns the record
|
|
GetCount ( ) : System.Int64 |
Returns the number of keys in this Database
|
|
GetCount ( |
Returns the number of keys in this Database This method wraps the native ups_db_count function. |
|
GetCount ( int flags ) : System.Int64 |
Returns the number of keys in this Database
|
|
GetLastError ( ) : int |
Returns the last error code This method wraps the native ups_db_get_error function. |
|
GetVersion ( ) : Version |
Returns the upscaledb.dll version
|
|
Insert ( |
Inserts a Database item This is an overloaded function for Database.Insert(txn, key, record, 0). |
|
Insert ( |
Inserts a Database Item This method wraps the native ups_db_insert function. |
|
Insert ( byte key, byte record ) : void |
Inserts a Database item This is an overloaded function for Database.Insert(null, key, record, 0). |
|
Insert ( byte key, byte record, int flags ) : void |
Inserts a Database item This is an overloaded function for Database.Insert(null, key, record, flags). |
|
InsertRecNo ( |
Inserts a Database Item into a Record Number Database This method wraps the native ups_db_insert function. |
|
InsertRecNo ( byte record ) : byte[] |
Inserts a Database Item into a Record Number Database This is an overloaded function for Database.InsertRecNo(null, record, 0). |
|
InsertRecNo ( byte record, int flags ) : byte[] |
Inserts a Database Item into a Record Number Database This is an overloaded function for Database.InsertRecNo(null, record, flags). |
|
RegisterCompare ( String name, CompareFunc foo ) : void |
Registers a global compare function. This method wraps the native ups_register_compare function. |
|
RemoveCursor ( |
Removes a Cursor from the Cursor list
|
|
SetCompareFunc ( CompareFunc foo ) : void |
Sets the comparison function This method wraps the native ups_db_set_compare_func function. |
|
SetErrorHandler ( ErrorHandler eh ) : void |
Sets the global error handler This method wraps the native ups_set_error_handler function. |
Метод | Описание | |
---|---|---|
Dispose ( bool all ) : void |
Closes the Database
|
Метод | Описание | |
---|---|---|
AppendNullParameter ( |
||
Database ( |
public Erase ( |
||
txn | The optional Transaction | |
key | byte | The key of the item to delete |
Результат | void |
public Find ( |
||
txn | ||
key | byte | |
Результат | byte[] |
public Find ( |
||
txn | The optional Transaction | |
key | byte | The key of the item |
flags | int | The flags of the operation |
Результат | byte[] |
public GetCount ( |
||
txn | ||
flags | int | |
Результат | System.Int64 |
public GetCount ( int flags ) : System.Int64 | ||
flags | int | |
Результат | System.Int64 |
public Insert ( |
||
txn | ||
key | byte | |
record | byte | |
Результат | void |
public Insert ( |
||
txn | An optional Transaction object | |
key | byte | The key of the new item |
record | byte | The record of the new item |
flags | int | Optional flags for this operation. Possible
/// flags are:
///
|
Результат | void |
public Insert ( byte key, byte record ) : void | ||
key | byte | |
record | byte | |
Результат | void |
public Insert ( byte key, byte record, int flags ) : void | ||
key | byte | |
record | byte | |
flags | int | |
Результат | void |
public InsertRecNo ( |
||
txn | An optional Transaction object | |
record | byte | The record of the new item |
flags | int | Optional flags for this operation. |
Результат | byte[] |
public InsertRecNo ( byte record ) : byte[] | ||
record | byte | |
Результат | byte[] |
public InsertRecNo ( byte record, int flags ) : byte[] | ||
record | byte | |
flags | int | |
Результат | byte[] |
public static RegisterCompare ( String name, CompareFunc foo ) : void | ||
name | String | Descriptive name of the compare function |
foo | CompareFunc | Delegate object |
Результат | void |
public SetCompareFunc ( CompareFunc foo ) : void | ||
foo | CompareFunc | The compare delegate, or null |
Результат | void |
public static SetErrorHandler ( ErrorHandler eh ) : void | ||
eh | ErrorHandler | The delegate which is called whenever an /// error message is emitted; set to null to set the default /// error handler |
Результат | void |