Click or drag to resize

IDataPersistenceServiceTDataGet Method

Get the object with identifier key.

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
TData Get(
	Guid key,
	Guid? versionKey,
	IPrincipal principal
)

Parameters

key  Guid
The identifier of the object to fetch
versionKey  NullableGuid
The version of the oject to fetch
principal  IPrincipal
The security principal which is executing the retrieve

Return Value

TData

[Missing <returns> documentation for "M:SanteDB.Core.Services.IDataPersistenceService`1.Get(System.Guid,System.Nullable{System.Guid},System.Security.Principal.IPrincipal)"]

Remarks
This method will retrieve the record of type TData from the database regardless of its state. If the record is logically deleted, or indicated as inactive (i.e. would not appear in a result set), this method will still retrieve the data from the database.
See Also