| IDataPersistenceServiceTDataGet Method |
Get the object with identifier key.
Namespace:
SanteDB.Core.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax TData Get(
Guid key,
Guid? versionKey,
IPrincipal principal
)
Function Get (
key As Guid,
versionKey As Guid?,
principal As IPrincipal
) As TData
TData Get(
Guid key,
Nullable<Guid> versionKey,
IPrincipal^ principal
)
abstract Get :
key : Guid *
versionKey : Nullable<Guid> *
principal : IPrincipal -> 'TData
Parameters
- key
- Type: SystemGuid
The identifier of the object to fetch - versionKey
- Type: SystemNullableGuid
The version of the oject to fetch - principal
- Type: System.Security.PrincipalIPrincipal
The security principal which is executing the retrieve
Return Value
Type:
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