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.153 -- Release Build+2ac7a48d4209b98f9747910ba7b519b359a1c238
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