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.160 -- Release Build+0b65775365098d82320afec1fcaed7affaca67e3
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