 | BasePersistenceServiceTModel, TDbModelExists(DataContext, Guid, Boolean) Method |
Return true if the specified object exists
Namespace: SanteDB.Persistence.Data.Services.PersistenceAssembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntaxpublic virtual bool Exists(
DataContext context,
Guid id,
bool allowCache = false
)
Public Overridable Function Exists (
context As DataContext,
id As Guid,
Optional allowCache As Boolean = false
) As Boolean
public:
virtual bool Exists(
DataContext^ context,
Guid id,
bool allowCache = false
)
abstract Exists :
context : DataContext *
id : Guid *
?allowCache : bool
(* Defaults:
let _allowCache = defaultArg allowCache false
*)
-> bool
override Exists :
context : DataContext *
id : Guid *
?allowCache : bool
(* Defaults:
let _allowCache = defaultArg allowCache false
*)
-> bool Parameters
- context DataContext
[Missing <param name="context"/> documentation for "M:SanteDB.Persistence.Data.Services.Persistence.BasePersistenceService`2.Exists(SanteDB.OrmLite.DataContext,System.Guid,System.Boolean)"]
- id Guid
[Missing <param name="id"/> documentation for "M:SanteDB.Persistence.Data.Services.Persistence.BasePersistenceService`2.Exists(SanteDB.OrmLite.DataContext,System.Guid,System.Boolean)"]
- allowCache Boolean (Optional)
[Missing <param name="allowCache"/> documentation for "M:SanteDB.Persistence.Data.Services.Persistence.BasePersistenceService`2.Exists(SanteDB.OrmLite.DataContext,System.Guid,System.Boolean)"]
Return Value
Boolean[Missing <returns> documentation for "M:SanteDB.Persistence.Data.Services.Persistence.BasePersistenceService`2.Exists(SanteDB.OrmLite.DataContext,System.Guid,System.Boolean)"]
See Also