Gemstone Data Library
Show/Hide TOC

# TableOperations T GetPrimaryKeyCacheSize Method

Calculates the size of the current primary key cache, in number of records.

## Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.150 -- Release Build+539c8e20daab1f37d91aaa1ede2f080b59c0c784
C#
View Source Request Example

    public int GetPrimaryKeyCacheSize()

VB
View Source Request Example

    Public Function GetPrimaryKeyCacheSize As Integer

C++
View Source Request Example

    public:
    virtual int GetPrimaryKeyCacheSize() sealed

JavaScript
View Source Request Example

    function GetPrimaryKeyCacheSize();

#### Return Value

Int32
Number of records in the current primary key cache.

#### Implements

ITableOperationsGetPrimaryKeyCacheSize

## See Also

#### Reference

TableOperationsT Class
Gemstone.Data.Model Namespace