语言

ValidationProcessOptions.ValidateEntityAsync 属性

定义

指定一个选项,指示服务器异步执行实体验证

public:
 property bool ValidateEntityAsync { bool get(); void set(bool value); };
[System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false)]
public bool ValidateEntityAsync { get; set; }
[<System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false)>]
member this.ValidateEntityAsync : bool with get, set
Public Property ValidateEntityAsync As Boolean

属性值

true如果实体异步验证;否则,。 false

属性

注解

该选项仅适用于单个实体被验证时。 注意,模型版本总是异步验证。 此外,如果提供了成员列表,验证将同步进行

适用于