Freigeben über


DbEntityValidationResult.IsValid-Eigenschaft

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Ruft einen Indikator ab, der angibt, ob die Entität gültig ist.

Namespace:  System.Data.Entity.Validation
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
Public ReadOnly Property IsValid As Boolean 
    Get
'Usage
Dim instance As DbEntityValidationResult 
Dim value As Boolean 

value = instance.IsValid
public bool IsValid { get; }
public:
property bool IsValid {
    bool get ();
}
member IsValid : bool
function get IsValid () : boolean

Eigenschaftswert

Typ: System.Boolean

Siehe auch

Verweis

DbEntityValidationResult Klasse

System.Data.Entity.Validation-Namespace