Click or drag to resize

ExtensionMethodsAddManagedReferenceLinkT Method

Add a managed reference link between sourceObject and targetObject

Namespace:  SanteDB.Core
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
public static ITargetedAssociation AddManagedReferenceLink<T>(
	this T sourceObject,
	T targetObject
)
where T : IdentifiedData

Parameters

sourceObject
Type: T

[Missing <param name="sourceObject"/> documentation for "M:SanteDB.Core.ExtensionMethods.AddManagedReferenceLink``1(``0,``0)"]

targetObject
Type: T

[Missing <param name="targetObject"/> documentation for "M:SanteDB.Core.ExtensionMethods.AddManagedReferenceLink``1(``0,``0)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:SanteDB.Core.ExtensionMethods.AddManagedReferenceLink``1(``0,``0)"]

Return Value

Type: ITargetedAssociation

[Missing <returns> documentation for "M:SanteDB.Core.ExtensionMethods.AddManagedReferenceLink``1(``0,``0)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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