SnapServerDatabaseBaseCreateClientDatabase Method
Namespace: SnapDB.Snap.ServicesAssembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
function CreateClientDatabase(client, onDispose);
- client SnapClient
- The SnapClient associated with the new client-specific database.
- onDispose ActionClientDatabaseBase
- An action to be executed when the client-specific database is disposed.
ClientDatabaseBase
A new instance of the client-specific database derived from
ClientDatabaseBase.
The CreateClientDatabase(SnapClient, ActionClientDatabaseBase) method is used to create a new instance of a client-specific database
associated with this SnapServerDatabase. It takes a SnapClient as a parameter to associate the new database with
a specific client. Additionally, an optional action can be provided to be executed when the client-specific database is disposed.