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

PostgreSqlDataSourceBase..::..GetTableApproximateCount<(Of <(<'TObject>)>)> Method

Gets a table or view's row count.

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

Syntax


public ILink<long> GetTableApproximateCount<TObject>()
Public Function GetTableApproximateCount(Of TObject) As ILink(Of Long)
public:
generic<typename TObject>
ILink<long long^>^ GetTableApproximateCount()

Type Parameters

TObject
This is used to determine which view to count. If the class isn't associated with a view, then it looks for a matching table.