The BrightstarService type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| GetClient(EmbeddedServiceConfiguration) |
Gets a client based on the connection string specified in the configuration.
| |
| GetClient(String, EmbeddedServiceConfiguration) |
Gets a client based on the connection string parameter
| |
| GetClient(ConnectionString, EmbeddedServiceConfiguration) |
Gets a client based on the connection string parameter
| |
| GetDataObjectContext()()()() |
Creates a data object context from a connection string defined in the application configuration
| |
| GetDataObjectContext(String) |
Creates a data object context from a connection string
| |
| GetDataObjectContext(ConnectionString) |
Creates a data object context from a connection string
| |
| GetRestClient(ConnectionString) |
Returns a new REST service client instance constructed from a BrightstarDB connection string
| |
| GetRestClient(String, IRequestAuthenticator, ICache) |
Returns a new REST service client instance
| |
| Shutdown |
This method should be called when using an embedded Brightstar clients when a program is about to terminate. This ensures
all job threads are properly terminated and the application can exit.
|