語言

StructuralObject.VerifyComplexObjectIsNotNull<TComplex> 方法

定義

驗證複雜物件是否為空。

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

類型參數

TComplex

驗證的複雜物件類型。

參數

complexObject
TComplex

被驗證的複雜物件。

propertyName
String

與 complexObject 相關聯的父物件上的複雜屬性。

傳回

TComplex

被驗證的複雜物件。

適用於