| 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
<ExtensionAttribute>
Public Shared Function AddManagedReferenceLink(Of T As IdentifiedData) (
sourceObject As T,
targetObject As T
) As ITargetedAssociation
public:
[ExtensionAttribute]
generic<typename T>
where T : IdentifiedData
static ITargetedAssociation^ AddManagedReferenceLink(
T sourceObject,
T targetObject
)
[<ExtensionAttribute>]
static member AddManagedReferenceLink :
sourceObject : 'T *
targetObject : 'T -> ITargetedAssociation when '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