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.143 -- Release Build+e39ee60a4b307fea0c37636ce689adb1b037d737
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