ValidationProcessOptions.ValidateEntityAsync Property

Definition

指定一个选项,该选项指示服务器异步执行实体验证Specifies an option that instructs the server to perform entity validations asynchronously

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

Property Value

Boolean

如果异步验证实体,则为 true;否则为 falsetrue if the entity validates asynchronously; otherwise, false.

Attributes

Remarks

仅当验证单个实体时,此选项才适用。This option only applies when an individual entity is being validated. 请注意,模型版本始终以异步方式进行验证。Note that model versions are always validated asynchronously. 此外,如果提供了成员列表,则会同步完成验证Also, if a list of members is supplied the validation will be done synchronously

Applies to