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.156 -- Release Build+a0362ddca9ef443a14cbb0197310f102a707ea84
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