Click or drag to resize

DataContextExtensionsGetRelatedPersistenceService(Type) Method

Get related persistence service that can store model objects of trelated

Namespace: SanteDB.Persistence.Data
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public static IAdoPersistenceProvider GetRelatedPersistenceService(
	this Type trelated
)

Parameters

trelated  Type
The related type of object

Return Value

IAdoPersistenceProvider
The 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