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.158 -- Release Build+a7370acff9f7a1e0ca1927f709880b2a82e0bdf0
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