Свойство | Тип | Описание | |
---|---|---|---|
OpenDatabaseInternalAsync | Task |
||
ThrowIfDisposed | void |
Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Close the connection with the FoundationDB cluster
|
|
FdbCluster ( IFdbClusterHandler handler, string path ) : FoundationDB.Client.Core |
Wraps a cluster handle
|
|
OpenDatabaseAsync ( string databaseName, FdbSubspace subspace, bool readOnly, |
Opens a database on this cluster, configured to only access a specific subspace of keys Any attempt to use a key outside the specified subspace will throw an exception |
|
SetOption ( FdbClusterOption option ) : void |
Set an option on this cluster that does not take any parameter
|
|
SetOption ( FdbClusterOption option, long value ) : void |
Set an option on this cluster that takes an integer value
|
|
SetOption ( FdbClusterOption option, string value ) : void |
Set an option on this cluster that takes a string value
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
OpenDatabaseInternalAsync ( string databaseName, FdbSubspace subspace, bool readOnly, bool ownsCluster, |
Opens a database on this cluster As of Beta2, the only supported database name is 'DB' |
|
ThrowIfDisposed ( ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public FdbCluster ( IFdbClusterHandler handler, string path ) : FoundationDB.Client.Core | ||
handler | IFdbClusterHandler | |
path | string | |
Результат | FoundationDB.Client.Core |
public OpenDatabaseAsync ( string databaseName, FdbSubspace subspace, bool readOnly, |
||
databaseName | string | Name of the database. Must be 'DB' (as of Beta 2) |
subspace | FdbSubspace | Subspace of keys that will be accessed. |
readOnly | bool | If true, the database will only allow read operations. |
cancellationToken | Cancellation Token (optionnal) for the connect operation | |
Результат | Task |
public SetOption ( FdbClusterOption option ) : void | ||
option | FdbClusterOption | Option to set |
Результат | void |
public SetOption ( FdbClusterOption option, long value ) : void | ||
option | FdbClusterOption | Option to set |
value | long | Value of the parameter |
Результат | void |
public SetOption ( FdbClusterOption option, string value ) : void | ||
option | FdbClusterOption | Option to set |
value | string | Value of the parameter (can be null) |
Результат | void |