共用方式為


OperationMode Members

Include Protected Members
Include Inherited Members

Specifies the mode in which an operation is to be executed.

The OperationMode type exposes the following members.

Constructors

  Name Description
Public method OperationMode() Constructs a new instance of the class.
Public method OperationMode(Boolean) Creates a new operation mode optionally allowing partial data.
Public method OperationMode(CacheUsage) Creates a new operation mode with a specified cache mode.
Public method OperationMode(Boolean, Boolean) Creates a new operation mode optionally allowing partial data and/or ignoring conflicts.
Public method OperationMode(CacheUsage, Boolean) Creates a new operation mode with specified cache mode, and optionally allowing partial data.
Public method OperationMode(CacheUsage, TimeSpan) Creates a new operation mode with specified cache usage and freshness criterion.
Public method OperationMode(CacheUsage, TimeSpan, Boolean) Creates a new operation mode with specified cache usage, freshness criterion, and optionally accepting partial data.
Public method OperationMode(CacheUsage, TimeSpan, Boolean, Boolean) Creates a new operation mode with specified cache usage, freshness criterion, and optionally accepting partial data and ignoring conflicts.

Top

Properties

  Name Description
Public property AllowPartialData Checks to see if the operation should return partial data.
Public propertyStatic member CachedWithImmediateRefresh Indicates that the item should be read from the external system if available, and the cache should be refreshed.
Public propertyStatic member CachedWithoutRefresh Indicates that the item should be read from the cache if it is available.
Public property CacheUsage Determines how the cache should be used.
Public property DoNotDetectConflicts Checks to see whether the conflicts should be ignored.
Public property Freshness Determines how fresh the data is requested.
Public propertyStatic member Offline Indicates that the item should be read from the cache.
Public propertyStatic member Online Indicates that the item should be read from the external system.

Top

Methods

  Name Description
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

OperationMode Class

Microsoft.BusinessData.Runtime Namespace