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.

適用於