Click or drag to resize

DelayLoadUtilsGetTargetAsT Method

Note: This API is now obsolete.

Get the target of the relationship

Namespace:  SanteDB.Core.Model
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
[ObsoleteAttribute("User LoadProperty()")]
public static T GetTargetAs<T>(
	this EntityRelationship me
)
where T : new(), Entity

Parameters

me
Type: SanteDB.Core.Model.EntitiesEntityRelationship

[Missing <param name="me"/> documentation for "M:SanteDB.Core.Model.DelayLoadUtils.GetTargetAs``1(SanteDB.Core.Model.Entities.EntityRelationship)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:SanteDB.Core.Model.DelayLoadUtils.GetTargetAs``1(SanteDB.Core.Model.Entities.EntityRelationship)"]

Return Value

Type: T

[Missing <returns> documentation for "M:SanteDB.Core.Model.DelayLoadUtils.GetTargetAs``1(SanteDB.Core.Model.Entities.EntityRelationship)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type EntityRelationship. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also