Repository Class |
Namespace: Telogis.GeoBase.Repositories
The Repository type exposes the following members.
Name | Description | |
---|---|---|
BoundingBoxData |
Implemented by derived classes to retrieve the RepositoryBoundingBoxData objects that describe the bounding boxes of the repository content.
| |
BoundingBoxes |
Implemented by derived classes to retrieve the BoundingBox objects that contain the repository content.
| |
CopyrightString |
Implemented by derived classes to retrieve a repository's copyright information.
| |
Countries |
Implemented by derived classes to retrieve an array containing every Country present in a repository.
| |
CurrentThreadRepository |
Gets or Sets the repository used to support GeoBase services. The repository
may be one of: GeoStreamRepository or LocalRepository
(either a SimpleRepository or MultiRepository).
| |
DatasetHashCode |
Implemented by derived classes to retrieve the hash code for a repository's data set.
| |
DatasetHashCodeString |
Provides a consistent string representation of DatasetHashCode.
| |
Default |
Gets or Sets the default repository used by all threads to support GeoBase
services.
| |
HasGlobalData |
Implemented by derived classes to determine whether a repository contains global data.
| |
IsDisposed |
Gets whether the repository has been Disposed.
| |
Regions |
Implemented by derived classes to retrieve an array of Regions present in a repository.
| |
VendorVersion |
Implemented by derived classes to retrieve the vendor version for a repository's data set.
|
Name | Description | |
---|---|---|
Dispose |
Disposes of this LocalRepository. See remarks.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetDrivingSide |
Indicates which side of the road vehicles drive in the specified country.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasCountry |
Implemented by derived classes to determine whether a repository contains a given Country.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
The default repository used for this application should be set using the Default method.
The current thread's Repository may be set using the CurrentThreadRepository method to one of: GeoStreamRepository, MultiRepository or SimpleRepository.
A default Repository may be set for all newly-created threads using the Default property. You may then use the CurrentThreadRepository property to override the Repository used on a per-thread basis.
The Repository may be changed on-the-fly.
Related articles: Using Repositories to manage data.