IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : FetchStrategy Enumeration |
'Declaration
Public Enum FetchStrategy Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage
Dim instance As FetchStrategy
public enum FetchStrategy : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
CacheOnly | Retrieve entities from the cache only. |
DataSourceAndCache | Retrieve entities from both the backend data source and the cache and merge the two result sets. |
DataSourceOnly | Retrieve entities from the back-end data source only. |
DataSourceThenCache | Retrieve entities from the backend data source, add them to the cache, and then retrieve entites that are in the cache. |
Optimized | The best strategy for the environment. If the query is invertible then retrieve entities from the cache, and if not in cache, the back-end data source. If not the retrieve the entities from the back end data source only. For Windows UWP, always retrieve from the back end data source. |
System.Object
System.ValueType
System.Enum
IdeaBlade.EntityModel.FetchStrategy
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