TrackingMode 枚举

定义

确定是否要跟踪对 DataServiceCollection<T> 所做的更改。Determines whether changes that are made to a DataServiceCollection<T> are tracked.

public enum class TrackingMode
public enum TrackingMode
type TrackingMode = 
Public Enum TrackingMode
继承
TrackingMode

字段

AutoChangeTracking 1

客户端自动跟踪对 DataServiceCollection<T> 中的项所做的更改。Changes to items in the DataServiceCollection<T> are automatically tracked by the client.

None 0

客户端不自动跟踪对 DataServiceCollection<T> 中的项所做的更改。Changes made to items in the DataServiceCollection<T> are not tracked automatically by the client.

注解

TrackingMode枚举指定是否自动跟踪对集合中的项所做的更改。The TrackingMode enumeration specifies whether or not changes that are made to items in the collection are tracked automatically.

当你创建TrackingMode DataServiceCollection<T>类的新实例时, 将使用枚举中的值。Values from the TrackingMode enumeration are used when you create a new instance of the DataServiceCollection<T> class.

适用于

另请参阅