Метод | Описание | |
---|---|---|
Begin ( ) : |
Begins a new Transaction
|
|
Begin ( int flags ) : |
Begins a new Transaction This method wraps the native ups_txn_begin function. |
|
Close ( ) : void |
Closes the Environment This method wraps the native ups_env_close function. |
|
Create ( String fileName, int flags ) : void |
Creates a new Environment This is an overloaded function for Create(fileName, flags, 0, null). |
|
Create ( String fileName, int flags, int mode ) : void |
Creates a new Environment This is an overloaded function for Create(fileName, flags, mode, null). |
|
Create ( String fileName, int flags, int mode, |
Creates a new Database This method wraps the native ups_env_create function. |
|
Create ( string fileName ) : void |
Creates a new Environment This is an overloaded function for Create(fileName, 0, 0, null). |
|
CreateDatabase ( short name ) : |
Creates a new Database in this Environment This is an overloaded function for CreateDatabase(name, 0, null). |
|
CreateDatabase ( short name, int flags ) : |
Creates a new Database in this Environment This is an overloaded function for CreateDatabase(name, flags, null). |
|
CreateDatabase ( short name, int flags, |
Creates a new Database in this Environment This method wraps the native ups_env_create_db function. |
|
Dispose ( ) : void |
Closes the Environment
|
|
Environment ( ) : System |
Default Constructor
|
|
Environment ( |
Default Constructor which sets the handle This constructor is used by Database.GetEnvironment() |
|
EraseDatabase ( short name ) : void |
Deletes a Database from this Environment This method wraps the native ups_env_erase_db function. |
|
Flush ( ) : void |
Flushes the Environment This method wraps the native ups_env_flush function. |
|
GetDatabaseNames ( ) : short[] |
Returns the names of all Databases in this Environment This method wraps the native ups_env_get_database_names function. |
|
GetHandle ( ) : |
Returns the Environment handle
|
|
Open ( String fileName, int flags ) : void |
Opens an existing Environment This is an overloaded function for Open(fileName, flags, null). |
|
Open ( String fileName, int flags, |
Opens an existing Environment This method wraps the native ups_env_open function. |
|
Open ( string fileName ) : void |
Opens an existing Environment This is an overloaded function for Open(fileName, 0, null). |
|
OpenDatabase ( short name ) : |
Opens a Database in this Environment This is an overloaded function for OpenDatabase(name, 0). |
|
OpenDatabase ( short name, int flags ) : |
Opens a Database in this Environment This is an overloaded function for OpenDatabase(name, flags, null). |
|
OpenDatabase ( short name, int flags, |
Opens a Database in this Environment This method wraps the native ups_env_open_db function. |
|
RenameDatabase ( short oldName, short newName ) : void |
Renames a Database in this Environment This method wraps the native ups_env_rename_db function. |
|
SelectRange ( String query, |
Метод | Описание | |
---|---|---|
Dispose ( bool all ) : void |
Closes the Environment
|
Метод | Описание | |
---|---|---|
AppendNullParameter ( |
public Create ( String fileName, int flags ) : void | ||
fileName | String | |
flags | int | |
Результат | void |
public Create ( String fileName, int flags, int mode ) : void | ||
fileName | String | |
flags | int | |
mode | int | |
Результат | void |
public Create ( String fileName, int flags, int mode, |
||
fileName | String | The file name of the Environment file. If /// the file already exists, it is overwritten. Can be null if you /// create an In-Memory Environment. |
flags | int | Optional flags for this operation, combined
/// with bitwise OR. Possible flags are:
///
/// /// /// /// |
mode | int | File access rights for the new file. This is /// the mode parameter for creat(2). Ignored on /// Microsoft Windows. |
parameters | An array of ///
/// /// |
|
Результат | void |
public CreateDatabase ( short name ) : |
||
name | short | |
Результат |
public CreateDatabase ( short name, int flags ) : |
||
name | short | |
flags | int | |
Результат |
public CreateDatabase ( short name, int flags, |
||
name | short | The name of the Database. If a Database
/// with this name already exists,
/// |
flags | int | Optional flags for creating the Database,
/// combined with bitwise OR. Possible values are:
///
|
parameters | An array of ///
/// |
|
Результат |
public Environment ( |
||
ptr | ||
Результат | System |
public EraseDatabase ( short name ) : void | ||
name | short | The name of the Database which is deleted.
/// If a Database with this name does not exist, the function will throw
/// |
Результат | void |
public Open ( String fileName, int flags ) : void | ||
fileName | String | |
flags | int | |
Результат | void |
public Open ( String fileName, int flags, |
||
fileName | String | The file name of the Environment file. |
flags | int | Optional flags for this operation, combined
/// with bitwise OR. Possible flags are:
///
/// /// /// /// /// |
parameters | An array of ///
/// |
|
Результат | void |
public OpenDatabase ( short name ) : |
||
name | short | |
Результат |
public OpenDatabase ( short name, int flags ) : |
||
name | short | |
flags | int | |
Результат |
public OpenDatabase ( short name, int flags, |
||
name | short | The name of the Database. If a Database
/// with this name does not exist, the function will throw
/// |
flags | int | Optional flags for this operation, combined
/// with bitwise OR. Possible flags are:
///
|
parameters | An array of ///
|
|
Результат |
public RenameDatabase ( short oldName, short newName ) : void | ||
oldName | short | The old name of the Database. If a Database
/// with this name does not exist, the function will throw
/// |
newName | short | The new name of the Database. If a Database
/// with this name already exists, the function will throw
/// |
Результат | void |
public SelectRange ( String query, |
||
query | String | |
begin | ||
end | ||
Результат | Result |