 | BundlePersistenceServiceGet(Guid, NullableGuid, IPrincipal) Method |
Get the object with identifier key.
Namespace: SanteDB.Persistence.Data.Services.Persistence.CollectionsAssembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntaxpublic Bundle Get(
Guid key,
Guid? versionKey,
IPrincipal principal
)
Public Function Get (
key As Guid,
versionKey As Guid?,
principal As IPrincipal
) As Bundle
public:
virtual Bundle^ Get(
Guid key,
Nullable<Guid> versionKey,
IPrincipal^ principal
) sealed
abstract Get :
key : Guid *
versionKey : Nullable<Guid> *
principal : IPrincipal -> Bundle
override Get :
key : Guid *
versionKey : Nullable<Guid> *
principal : IPrincipal -> Bundle 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
Bundle[Missing <returns> documentation for "M:SanteDB.Persistence.Data.Services.Persistence.Collections.BundlePersistenceService.Get(System.Guid,System.Nullable{System.Guid},System.Security.Principal.IPrincipal)"]
Implements
IDataPersistenceServiceTDataGet(Guid, NullableGuid, IPrincipal)
Exceptions
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