 | IdentifiedDataPersistenceServiceTModel, TDbModelDoGetInternal Method |
Get a database model version direct from the database
Namespace: SanteDB.Persistence.Data.Services.PersistenceAssembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntaxprotected override Object DoGetInternal(
DataContext context,
Guid key,
Guid? versionKey,
bool allowCache = false
)
Protected Overrides Function DoGetInternal (
context As DataContext,
key As Guid,
versionKey As Guid?,
Optional allowCache As Boolean = false
) As Object
protected:
virtual Object^ DoGetInternal(
DataContext^ context,
Guid key,
Nullable<Guid> versionKey,
bool allowCache = false
) override
abstract DoGetInternal :
context : DataContext *
key : Guid *
versionKey : Nullable<Guid> *
?allowCache : bool
(* Defaults:
let _allowCache = defaultArg allowCache false
*)
-> Object
override DoGetInternal :
context : DataContext *
key : Guid *
versionKey : Nullable<Guid> *
?allowCache : bool
(* Defaults:
let _allowCache = defaultArg allowCache false
*)
-> Object Parameters
- context DataContext
- The context from which the data should be fetched
- key Guid
- The key of data which should be fetched
- versionKey NullableGuid
- The version key
- allowCache Boolean (Optional)
- True if loading data from the ad-hoc caching service is allowed
Return Value
ObjectThe database model
See Also