Method | Description | |
---|---|---|
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. |
Method | Description | |
---|---|---|
Dispose ( bool all ) : void |
Closes the Database
|
Method | Description | |
---|---|---|
AppendNullParameter ( |
||
Database ( |
public Erase ( |
||
txn | The optional Transaction | |
key | byte | The key of the item to delete |
return | void |
public Find ( |
||
txn | ||
key | byte | |
return | byte[] |
public Find ( |
||
txn | The optional Transaction | |
key | byte | The key of the item |
flags | int | The flags of the operation |
return | byte[] |
public GetCount ( |
||
txn | ||
flags | int | |
return | System.Int64 |
public Insert ( |
||
txn | ||
key | byte | |
record | byte | |
return | 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:
///
|
return | void |
public Insert ( byte key, byte record ) : void | ||
key | byte | |
record | byte | |
return | void |
public Insert ( byte key, byte record, int flags ) : void | ||
key | byte | |
record | byte | |
flags | int | |
return | void |
public InsertRecNo ( |
||
txn | An optional Transaction object | |
record | byte | The record of the new item |
flags | int | Optional flags for this operation. |
return | byte[] |
public InsertRecNo ( byte record, int flags ) : byte[] | ||
record | byte | |
flags | int | |
return | byte[] |
public static RegisterCompare ( String name, CompareFunc foo ) : void | ||
name | String | Descriptive name of the compare function |
foo | CompareFunc | Delegate object |
return | void |
public SetCompareFunc ( CompareFunc foo ) : void | ||
foo | CompareFunc | The compare delegate, or null |
return | 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 |
return | void |