Export (0) Print
Expand All
Expand Minimize

StructuralObject.SetValidValue<T> Method (T, T, String)

Sets a complex object for the specified property.

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

protected internal T SetValidValue<T>(
	T oldValue,
	T newValue,
	string property
)
where T : ComplexObject

Type Parameters

T

The type of the object being replaced.

Parameters

oldValue
Type: T

The original complex object for the property, if any.

newValue
Type: T

The complex object is being set.

property
Type: System.String

The complex property that is being set to the complex object.

Return Value

Type: T
A complex type that derives from complex object.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft