Click or drag to resize

DelayLoadUtilsGetTargetAsT Method

Note: This API is now obsolete.

Get the target of the relationship

Namespace: SanteDB
Assembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
[ObsoleteAttribute("Use LoadProperty()")]
public static T GetTargetAs<T>(
	this EntityRelationship me
)
where T : new(), Entity

Parameters

me  EntityRelationship

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

Type Parameters

T

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

Return Value

T

[Missing <returns> documentation for "M:SanteDB.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