Name | Description | |
---|---|---|
LocalRepository Constructor | Open a specific local repository |
The following tables list the members exposed by LocalRepository.
Name | Description | |
---|---|---|
LocalRepository Constructor | Open a specific local repository |
Name | Description | |
---|---|---|
LogCategory | The log category |
Name | Description | |
---|---|---|
Caption | A short end-user caption to display for the repository. | |
DefaultRepositoryPath | Calculate the best path for the default | |
Description | An extended end-user description of the repository. | |
Id | A unique id for this repository. | |
IsDirty | Indicates if there are unsaved changes. | |
IsLoggingEnabled | Indicates if the database should log operations to Gibraltar or not. | |
IsReadOnly | Indicates if the repository is read only (sessions can't be added or removed). | |
Name | The unique name for this repository (typically the file name or URI). | |
Products | The set of products, applications, and versions loaded into the repository | |
Sessions | The set of all sessions in the repository. | |
SupportsFragments | Indicates if the repository supports fragment files or not. Most do. | |
TempPath | A temporary path within the repository that can be used to store working data |
Name | Description | |
---|---|---|
RepositoryLockPath | The path on disk to the repository session locks | |
RepositoryPath | The path on disk to the repository | |
SessionCache | The current session cache |
Name | Description | |
---|---|---|
AddSession | Add a session (full file stream or fragment of a session) to the repository | |
CalculateRepositoryPath | Calculate the best path for the log folder and the repository | |
Find | Retrieves all the sessions that match the conditions defined by the specified predicate. | |
GetSession | Load a session by its Id | |
GetSessionFileIds | Retrieve the ids of the sessions files known locally for the specified session | |
LoadSession | Load a session by its Id | |
LoadSessionFiles | Find the session fragments in our local repository for the specified session Id. | |
LoadSessionFileStream | Get a generic stream for the contents of a session file | |
LoadSessionHeader | Attempt to load the session header from the specified file, returning null if it can't be loaded | |
LoadSessionStream | Get a generic stream for the contents of a session | |
Refresh | Overloaded. Perform an immediate, synchronous refresh | |
Remove | Overloaded. Remove a session from the repository and all folders by its Id | |
SessionDataExists | Overloaded. Find if session data (more than just the header information) exists for a session with the provided Id | |
SessionExists | Find if a session exists with the provided Id | |
SessionIsRunning | Find if the session is running with the provided Id | |
SetSessionNew | Set or clear the New flag for a sessions | |
SetSessionsNew | Set or clear the New flag for a list of sessions | |
TryLoadSessionFileStream | Try to get a stream pointing to a live file |
Name | Description | |
---|---|---|
OnCollectionChanged | Called whenever the collection changes. | |
OnRefresh | Called by the base class to refresh cached data | |
UpdateCache | Immediately update the cache from disk |
Name | Description | |
---|---|---|
CollectionChanged | Raised every time the sessions collection changes. |