 | DataContextExtensionsGetRelatedPersistenceService(Type) Method |
Get related persistence service that can store model objects of trelated
Namespace: SanteDB.Persistence.DataAssembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntaxpublic static IAdoPersistenceProvider GetRelatedPersistenceService(
this Type trelated
)
<ExtensionAttribute>
Public Shared Function GetRelatedPersistenceService (
trelated As Type
) As IAdoPersistenceProvider
public:
[ExtensionAttribute]
static IAdoPersistenceProvider^ GetRelatedPersistenceService(
Type^ trelated
)
[<ExtensionAttribute>]
static member GetRelatedPersistenceService :
trelated : Type -> IAdoPersistenceProvider Parameters
- trelated Type
- The related type of object
Return Value
IAdoPersistenceProviderThe persistence provider
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
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