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.

适用于