Click or drag to resize

BasePersistenceServiceTModel, TDbModelGet(Guid, NullableGuid, IPrincipal) Method

Primary GET function for the data persistence layer

Namespace: SanteDB.Persistence.Data.Services.Persistence
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public virtual TModel Get(
	Guid key,
	Guid? versionKey,
	IPrincipal principal
)

Parameters

key  Guid
The key of the object to retrieve
versionKey  NullableGuid
The specific version of the object
principal  IPrincipal
The principal executing the query

Return Value

TModel
The fetched object

Implements

IDataPersistenceServiceTDataGet(Guid, NullableGuid, IPrincipal)
See Also