Gemstone Timeseries Library
Show/Hide TOC

# MeasurementKeyEstablishDefaultCache Method

Establish default MeasurementKey cache.

## Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.164 -- Release Build+a92a9bf42cb46f572890ee63295d6658a513d9b3
C#
View Source Request Example

    public static void EstablishDefaultCache(
    	DbConnection connection,
    	string measurementTable = "ActiveMeasurement"
    )

VB
View Source Request Example

    Public Shared Sub EstablishDefaultCache (
    	connection As DbConnection,
    	Optional measurementTable As String = "ActiveMeasurement"
    )

C++
View Source Request Example

    public:
    static void EstablishDefaultCache(
    	DbConnection^ connection,
    	String^ measurementTable = L"ActiveMeasurement"
    )

JavaScript
View Source Request Example

    Gemstone.Timeseries.MeasurementKey.EstablishDefaultCache = function(connection, measurementTable);

#### Parameters

connection DbConnection
  The database connection.
measurementTable String (Optional)
  Measurement table name used to load measurement key cache.

## Remarks

Source tables are expected to have at least the following fields:
C#

    ID          NVARCHAR    Measurement key formatted as: ArchiveSource:PointID
    SignalID    GUID        Unique identification for measurement

## See Also

#### Reference

MeasurementKey Class
Gemstone.Timeseries Namespace