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 _
) 
 

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).
See Also