TransactionalRepositoryTables Property | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets the collection of tables in this transactional repository.
Namespace:
Telogis.GeoBase.Transactional
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public TableCollection Tables { get; }
Public ReadOnly Property Tables As TableCollection
Get
Property Value
Type:
TableCollectionExamples
This code snippet lists all the table names from a given transactional
repository.
void ListTables(TransactionalRepository tr)
{
Console.WriteLine("Repository contains these tables:");
foreach (String name in tr.Tables.Names)
{
Console.WriteLine("\t{0}", name);
}
}
Typically, though, you will already know the names of the tables in
your repository. In which case you can simply grab the desired table:
Table myWarehouses = myTransactionalRepository.Tables["warehouses"];
See Also