dotConnect for Salesforce Documentation
Devart.Data.Salesforce Namespace / SalesforceCache Class / Create Method / Create(String,Int32,RefreshIntervalUnit,Boolean) Method
The name of the table to create cache for.
The interval between automatic cache refreshing for a table in the cache.
The time unit, the refresh interval is set in.
true if full refresh method should be used (all objects, matching the filter if such is set, from thу specified table will be queried when performing cache refreshing); false if smart refresh method should be used (only objects that were created or modified since the last cache refreshing, will be queried when performing cache refreshing).

In This Topic
    Create(String,Int32,RefreshIntervalUnit,Boolean) Method
    In This Topic
    Creates cache for the Salesforce table.
    Syntax
    'Declaration
     
    Public Overloads Sub Create( _
       ByVal tableName As String, _
       ByVal refreshInterval As Integer, _
       ByVal intervalUnit As RefreshIntervalUnit, _
       ByVal fullRefresh As Boolean _
    ) 
    public void Create( 
       string tableName,
       int refreshInterval,
       RefreshIntervalUnit intervalUnit,
       bool fullRefresh
    )

    Parameters

    tableName
    The name of the table to create cache for.
    refreshInterval
    The interval between automatic cache refreshing for a table in the cache.
    intervalUnit
    The time unit, the refresh interval is set in.
    fullRefresh
    true if full refresh method should be used (all objects, matching the filter if such is set, from thу specified table will be queried when performing cache refreshing); false if smart refresh method should be used (only objects that were created or modified since the last cache refreshing, will be queried when performing cache refreshing).
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also