 | IDataPersistenceServiceTDataGet Method |
Get the object with identifier key.
Namespace: SanteDB.Core.ServicesAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
SyntaxTData 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 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