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.163 -- Release Build+cf7cf4d3156bba09a67241b3d0a5244a44ff1c04
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