StructuralObject.VerifyComplexObjectIsNotNull<TComplex> Method (TComplex, String)

 

Verifies that a complex object is not null.

Namespace:   System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

protected internal static TComplex VerifyComplexObjectIsNotNull<TComplex>(
	TComplex complexObject,
	string propertyName
)
where TComplex : ComplexObject

Parameters

complexObject
Type: TComplex

The complex object that is being validated.

propertyName
Type: System.String

The complex property on the parent object that is associated with complexObject.

Return Value

Type: TComplex

The complex object being validated.

Type Parameters

TComplex

The type of the complex object being verified.

.NET Framework
Available since 3.5
Return to top
Show: