| ExtensionMethodsResolveOwnedRecordT Method (T, IPrincipal) |
Resolve the managed target wrapper for [!:IDataManagedLinkProvider<T>.ResolveOwnedRecord(T)]
Namespace:
SanteDB.Core
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax public static T ResolveOwnedRecord<T>(
this T forSource,
IPrincipal ownerPrincipal
)
where T : IdentifiedData
<ExtensionAttribute>
Public Shared Function ResolveOwnedRecord(Of T As IdentifiedData) (
forSource As T,
ownerPrincipal As IPrincipal
) As T
public:
[ExtensionAttribute]
generic<typename T>
where T : IdentifiedData
static T ResolveOwnedRecord(
T forSource,
IPrincipal^ ownerPrincipal
)
[<ExtensionAttribute>]
static member ResolveOwnedRecord :
forSource : 'T *
ownerPrincipal : IPrincipal -> 'T when 'T : IdentifiedData
Parameters
- forSource
- Type: T
[Missing <param name="forSource"/> documentation for "M:SanteDB.Core.ExtensionMethods.ResolveOwnedRecord``1(``0,System.Security.Principal.IPrincipal)"]
- ownerPrincipal
- Type: System.Security.PrincipalIPrincipal
[Missing <param name="ownerPrincipal"/> documentation for "M:SanteDB.Core.ExtensionMethods.ResolveOwnedRecord``1(``0,System.Security.Principal.IPrincipal)"]
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:SanteDB.Core.ExtensionMethods.ResolveOwnedRecord``1(``0,System.Security.Principal.IPrincipal)"]
Return Value
Type:
T[Missing <returns> documentation for "M:SanteDB.Core.ExtensionMethods.ResolveOwnedRecord``1(``0,System.Security.Principal.IPrincipal)"]
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