Click or drag to resize

TransactionalRepository Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Allows access to an updateable GeoBase Transactional database.
Inheritance Hierarchy

Namespace:  Telogis.GeoBase.Transactional
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public class TransactionalRepository : LocalRepository, 
	IDisposable

The TransactionalRepository type exposes the following members.

Constructors
  NameDescription
Public methodCode exampleTransactionalRepository(String)
Opens or creates a transactional database on disk in read-write mode.
Public methodTransactionalRepository(String, FileAccess)
Opens or creates a transactional database on disk in the specified mode.
Top
Properties
  NameDescription
Public propertyBoundingBoxData
Implemented by derived classes to retrieve the RepositoryBoundingBoxData objects that describe the bounding boxes of the repository content.
(Inherited from Repository.)
Public propertyBoundingBoxes
Implemented by derived classes to retrieve the BoundingBox objects that contain the repository content.
(Inherited from Repository.)
Public propertyCopyrightString
Returns the copyright string associated with this TransactionalRepository.
(Overrides RepositoryCopyrightString.)
Public propertyCountries
Returns an array of the Countries inside this TransactionalRepository. Always a zero-length array.
(Overrides RepositoryCountries.)
Public propertyDatasetHashCode
Gets the hash code for this Repository's dataset. The hash code may be used to identify the dataset.
(Inherited from LocalRepository.)
Public propertyDatasetHashCodeString
Provides a consistent string representation of DatasetHashCode.
(Inherited from Repository.)
Public propertyFileName
Gets or sets the file name to open. Typically ends with the 'gbtx' extension.
Public propertyHasGlobalData
Returns whether this TransactionalRepository contains any global data. Always false.
(Overrides RepositoryHasGlobalData.)
Public propertyIndexes
Gets the collection of indexes in this TransactionalRepository.
Public propertyInTransaction
True if a transaction has begun and has not ended, false otherwise.
Public propertyIsDisposed
Gets whether the repository has been Disposed.
(Inherited from Repository.)
Public propertyRegions
Returns an empty array.
(Overrides RepositoryRegions.)
Public propertyCode exampleTables
Gets the collection of tables in this transactional repository.
Public propertyVendorVersion
Throws an exception because VendorVersion is not applicable to the transactional repository.
(Overrides RepositoryVendorVersion.)
Top
Methods
  NameDescription
Public methodAbortTransaction
Aborts the existing transaction. If any changes have been made to the database they are rolled back.
Public methodBeginTransaction
Begins a new transaction. This is required before any operations can be performed on the repository.
Public methodCode exampleCreateTable
Creates a new table in the TransactionalRepository.
Public methodDispose
Disposes of this LocalRepository. See remarks.
(Inherited from Repository.)
Public methodEndTransaction
Closes the existing transaction. If any changes have been made to the database they are committed at this time.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetCountriesIn
Not implemented. Will throw a InvalidOperationException.
(Overrides LocalRepositoryGetCountriesIn(BoundingBox).)
Public methodGetDrivingSide
Indicates which side of the road vehicles drive in the specified country.
(Overrides RepositoryGetDrivingSide(Country).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRepositoriesForCountry
A stub for the method that returns a list of sub-repositories that contain data about a specified country.
(Overrides LocalRepositoryGetRepositoriesForCountry(Country).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasCountry
Indicates whether this repository contains data for the given Country.
(Inherited from LocalRepository.)
Public methodSetCopyrightString
Sets the copyright string associated with this TransactionalRepository.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also