IdeaBlade DevForce 2010 Help Reference
FetchStrategy Enumeration
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : FetchStrategy Enumeration



An enum used when retrieving entities to determine where to look and in what order.

Syntax

Visual Basic (Declaration) 
Public Enum FetchStrategy 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
Visual Basic (Usage)Copy Code
Dim instance As FetchStrategy
C++/CLI 
public enum class FetchStrategy : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  

Members

MemberDescription
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 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

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         IdeaBlade.EntityModel.FetchStrategy

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.