Click or drag to resize

DataContextExtensionsGetRelatedMappingProviderTRelated Method

Get related mapping provider

Namespace: SanteDB.Persistence.Data
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public static IMappedQueryProvider<TRelated> GetRelatedMappingProvider<TRelated>(
	this TRelated me
)

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