StructuralObject.VerifyComplexObjectIsNotNull<TComplex> Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Verifica che un oggetto complesso non sia null.
protected internal static TComplex VerifyComplexObjectIsNotNull<TComplex>(TComplex complexObject, string propertyName) where TComplex : System.Data.Entity.Core.Objects.DataClasses.ComplexObject;
static member VerifyComplexObjectIsNotNull : 'Complex * string -> 'Complex (requires 'Complex :> System.Data.Entity.Core.Objects.DataClasses.ComplexObject)
Protected Friend Shared Function VerifyComplexObjectIsNotNull(Of TComplex As ComplexObject) (complexObject As TComplex, propertyName As String) As TComplex
Parametri di tipo
- TComplex
Tipo dell'oggetto complesso da verificare.
Parametri
- complexObject
- TComplex
Oggetto complesso da convalidare.
- propertyName
- String
Proprietà complessa nell'oggetto padre associato a complexObject .
Restituisce
Oggetto complesso da convalidare.