Data |
The DataContextExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
| AddOrUpdateData | Adds or updates data on the context | |
| ContainsStackEntry | Returns true if the data stack contains an entry | |
| CreateInformationModelGuard | Should be called when converting to information model to prevent stack overflows | |
| DisablePersistenceValidation | Defer check constraints on the object in the persistence layer | |
| EstablishProvenance | Establish a provenance entry for the specified connection | |
| GetProvenance | Get provenance from the context | |
| GetRelatedMappingProviderTRelated | Get related mapping provider | |
| GetRelatedPersistenceService(Type) | Get related persistence service that can store model objects of trelated | |
| GetRelatedPersistenceServiceTRelated(TRelated) | Get related persistence service | |
| GetRelatedPersistenceServiceTRelated(IEnumerableTRelated) | Get related persistence service from an enumerable | |
| GetRelatedPersistenceServiceTRelated(Type) | Get related persistence service | |
| IsLoadingInformationModel | Determine if the information model is loading | |
| PeekData | Set data on the context in a safe manner | |
| PopData | Set data on the context in a safe manner | |
| PushData | Set data on the context in a safe manner | |
| ShouldDisableObjectValidation | Should disable object validation | |
| ShouldDisablePersistenceValidation | Determine if the object has been flagged for constraint deferral | |
| TranslateDbException | Translates a DB exception to an appropriate SanteDB exception | |
| ValidateMaximumStackDepth | Validate that the current context is under the maximum stack depth |