 | DataContextExtensionsGetRelatedMappingProviderTRelated Method |
Get related mapping provider
Namespace: SanteDB.Persistence.DataAssembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntaxpublic static IMappedQueryProvider<TRelated> GetRelatedMappingProvider<TRelated>(
this TRelated me
)
<ExtensionAttribute>
Public Shared Function GetRelatedMappingProvider(Of TRelated) (
me As TRelated
) As IMappedQueryProvider(Of TRelated)
public:
[ExtensionAttribute]
generic<typename TRelated>
static IMappedQueryProvider<TRelated>^ GetRelatedMappingProvider(
TRelated me
)
[<ExtensionAttribute>]
static member GetRelatedMappingProvider :
me : 'TRelated -> IMappedQueryProvider<'TRelated> Parameters
- me TRelated
[Missing <param name="me"/> documentation for "M:SanteDB.Persistence.Data.DataContextExtensions.GetRelatedMappingProvider``1(``0)"]
Type Parameters
- TRelated
- The model type for which the provider should be returned
Return Value
IMappedQueryProviderTRelated[Missing <returns> documentation for "M:SanteDB.Persistence.Data.DataContextExtensions.GetRelatedMappingProvider``1(``0)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
TRelated. 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