Click or drag to resize

TransactionalRepository Constructor (String, FileAccess)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Opens or creates a transactional database on disk in the specified mode.

Namespace:  Telogis.GeoBase.Transactional
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public TransactionalRepository(
	string path,
	FileAccess fileAccess
)

Parameters

path
Type: SystemString
The path to the file to open. Typically the filename will end with the 'gbtx' extension.
fileAccess
Type: System.IOFileAccess
File access mode. Only Read and ReadWrite are supported.
Remarks

When you have finished with a transactional repository you should call the dispose method to release memory and release the file handle.

Before opening a transactional database in read-only mode, check that it was left in a consistent state when it was last written. Eg there is no journal file (which would be in the same directory as the transactional database and would have a name like filename.gbtx-journal).

See Also