UpdateOperations 列舉

定義

列舉型別,用來指定曾在該實體上執行的更新作業。An enumeration used to specify the update operations that were performed on an entity.

此列舉具有 FlagsAttribute 個屬性允許以位元方式合併其成員值。

public enum class UpdateOperations
[System.Flags]
public enum UpdateOperations
type UpdateOperations = 
Public Enum UpdateOperations
繼承
UpdateOperations
屬性

欄位

Add 1

已加入實體。The entity was added.

Change 2

已修改實體。The entity was modified.

Delete 4

已刪除實體。The entity was deleted.

None 0

資源上未執行任何作業。No operations were performed on the resource.

備註

此列舉會在攔截器上使用, 以判斷在實體儲存之前, 已在實體上執行的變更種類。This enumeration is used on interceptors to determine what kind of changes were performed on entities before they were saved.

適用於