Click or drag to resize

DataContextExtensions Class

Data context extensions
Inheritance Hierarchy
SystemObject
  SanteDB.Persistence.DataDataContextExtensions

Namespace: SanteDB.Persistence.Data
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public static class DataContextExtensions

The DataContextExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodAddOrUpdateData Adds or updates data on the context
Public Extension MethodContainsStackEntry Returns true if the data stack contains an entry
Public Extension MethodCreateInformationModelGuard Should be called when converting to information model to prevent stack overflows
Public Extension MethodDisablePersistenceValidation Defer check constraints on the object in the persistence layer
Public Extension MethodEstablishProvenance Establish a provenance entry for the specified connection
Public Extension MethodGetProvenance Get provenance from the context
Public Extension MethodGetRelatedMappingProviderTRelated Get related mapping provider
Public Extension MethodGetRelatedPersistenceService(Type) Get related persistence service that can store model objects of trelated
Public Extension MethodGetRelatedPersistenceServiceTRelated(TRelated) Get related persistence service
Public Extension MethodGetRelatedPersistenceServiceTRelated(IEnumerableTRelated) Get related persistence service from an enumerable
Public Extension MethodGetRelatedPersistenceServiceTRelated(Type) Get related persistence service
Public Extension MethodIsLoadingInformationModel Determine if the information model is loading
Public Extension MethodPeekData Set data on the context in a safe manner
Public Extension MethodPopData Set data on the context in a safe manner
Public Extension MethodPushData Set data on the context in a safe manner
Public Extension MethodShouldDisableObjectValidation Should disable object validation
Public Extension MethodShouldDisablePersistenceValidation Determine if the object has been flagged for constraint deferral
Public Extension MethodTranslateDbException Translates a DB exception to an appropriate SanteDB exception
Public Extension MethodValidateMaximumStackDepth Validate that the current context is under the maximum stack depth
Top
See Also