StructuralObject.VerifyComplexObjectIsNotNull<TComplex> 方法

定义

检验复杂对象是否不为 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

类型参数

TComplex

正在验证的复杂对象的类型。

参数

complexObject
TComplex

正在检验的复杂对象。

propertyName
String

与 complexObject 关联的父对象上的 complex 属性。

返回

TComplex

正在验证的复杂对象。

适用于