Gets or sets the period of time entities loaded in virtual mode are kept in the cache without checking whether they are needed or not.
If an entity was neither used nor considered needed for a period of time longer than CacheTimeout,
ClientViewSource may evict it from the cache.
Namespace:
C1.Data.DataSourceAssembly: C1.Silverlight.Data.Entity (in C1.Silverlight.Data.Entity.dll)
Syntax
C# |
---|
[DefaultValueAttribute(typeof(TimeSpan), "00:01:00")] public TimeSpan CacheTimeout { get; set; } |
Visual Basic |
---|
<DefaultValueAttribute(GetType(TimeSpan), "00:01:00")> _ Public Property CacheTimeout As TimeSpan Get Set |
Remarks
This property is not used if VirtualMode is None.