Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

MySqlMetadataCache..::..GetTablesAndViews Method

Gets the tables and views that were loaded by this cache.

Namespace:  Tortuga.Chain.MySql
Assembly:  Tortuga.Chain.MySql (in Tortuga.Chain.MySql.dll)

Syntax


public IReadOnlyCollection<TableOrViewMetadata<MySqlObjectName, MySqlDbType>> GetTablesAndViews()
Public Function GetTablesAndViews As IReadOnlyCollection(Of TableOrViewMetadata(Of MySqlObjectName, MySqlDbType))
public:
IReadOnlyCollection<TableOrViewMetadata<MySqlObjectName^, MySqlDbType^>^>^ GetTablesAndViews()

Return Value

Remarks


Call Preload before invoking this method to ensure that all tables and views were loaded from the database's schema. Otherwise only the objects that were actually used thus far will be returned.