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.174 -- Release Build+56023ce8dc2ea2819d6270dfbb9f6523f9be1f01
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