Click or drag to resize

TransactionalRepositoryTables Property

Verizon Connect Logo
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; }

Property Value

Type: TableCollection
Examples
This code snippet lists all the table names from a given transactional repository.
C#
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:
C#
Table myWarehouses = myTransactionalRepository.Tables["warehouses"];
See Also