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

DatabaseMetadataCache<(Of <(<'TObjectName, TDbType>)>)>..::..GetIndexesForTable Method

Gets the indexes for a table.

Namespace:  Tortuga.Chain.Metadata
Assembly:  Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)

Syntax


public virtual IndexMetadataCollection<TObjectName, TDbType> GetIndexesForTable(
	TObjectName tableName
)
Public Overridable Function GetIndexesForTable ( _
	tableName As TObjectName _
) As IndexMetadataCollection(Of TObjectName, TDbType)
public:
virtual IndexMetadataCollection<TObjectName, TDbType>^ GetIndexesForTable(
	TObjectName tableName
)

Parameters

tableName
Type: TObjectName
Name of the table.

Return Value

Exceptions


ExceptionCondition
[NotSupportedException]Indexes are not supported by this data source

Remarks


This should be cached on a TableOrViewMetadata object.