Versioned |
public abstract class VersionedEntityData<THistoryModelType> : BaseEntityData, IVersionedData, IIdentifiedResource where THistoryModelType : new(), VersionedEntityData<THistoryModelType>
[Missing <typeparam name="THistoryModelType"/> documentation for "T:SanteDB.Core.Model.VersionedEntityData`1"]
The VersionedEntityDataTHistoryModelType type exposes the following members.
| Name | Description | |
|---|---|---|
| VersionedEntityDataTHistoryModelType | Creates a new versioned base data class |
| Name | Description | |
|---|---|---|
| _Self |
A query parameter which references itself - this is for query filters which pass the original data in
(Inherited from IdentifiedData) | |
| BatchOperation |
Gets or sets the operation
(Inherited from IdentifiedData) | |
| CreatedBy |
Gets or sets the user that created this base data
(Inherited from BaseEntityData) | |
| CreatedByKey |
Gets or sets the security provenance object which represents the creation of this object
(Inherited from BaseEntityData) | |
| CreationTime |
Gets or sets the time at which the data was created
(Inherited from BaseEntityData) | |
| CreationTimeXml |
Gets or sets the creation time as an ISO date format
(Inherited from BaseEntityData) | |
| IsHeadVersion | True if the object is the head version | |
| Key |
Gets or sets the primary identifying UUID of this object
(Inherited from IdentifiedData) | |
| ModifiedOn |
Gets the time that the object was last modified (from base data, default to CreationTime)
(Inherited from BaseEntityData) | |
| ObsoletedBy |
Gets or sets the user that obsoleted this base data
(Inherited from BaseEntityData) | |
| ObsoletedByKey |
Gets or sets the security provenance object which represents the obsoletion of this data
(Inherited from BaseEntityData) | |
| ObsoletionTime |
Gets or sets the time when the data is or will become invalid
(Inherited from BaseEntityData) | |
| ObsoletionTimeXml |
Gets or sets the time that the data is no longer valid (was deleted/obsoleted) in ISO format
(Inherited from BaseEntityData) | |
| PreviousVersionKey | Gets or sets the UUID of the previous version of this record | |
| Tag |
Override the ETag
(Overrides IdentifiedDataTag) | |
| Type |
Gets the type registration of this object
(Inherited from IdentifiedData) | |
| VersionKey | Gets or sets the UUID of the current version of this object | |
| VersionSequence | The sequence number of the version (for ordering) |
| Name | Description | |
|---|---|---|
| AddAnnotationT |
Add an annotated object
(Inherited from IdentifiedData) | |
| Clone |
Clone this object
(Inherited from IdentifiedData) | |
| CopyAnnotations |
Copy annotations from another resource
(Inherited from IdentifiedData) | |
| DeepCopy |
Provide a deep copy of the specified data
(Inherited from IdentifiedData) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetAnnotationsT |
Get annotations of specified T (Inherited from IdentifiedData) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetPreviousVersion | Gets the previous version or loads it from the database if needed | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsEmpty |
Determines w
(Inherited from IdentifiedData) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| RemoveAnnotation |
Remove annotation
(Inherited from IdentifiedData) | |
| RemoveAnnotationsT |
Remove annotation
(Inherited from IdentifiedData) | |
| SemanticEquals |
Determines the semantic equality of this object an obj (Inherited from IdentifiedData) | |
| ShouldSeralizeVersionSequence | Should serialize the version sequence | |
| ShouldSerializeBatchOperation |
Should serialize batch operation
(Inherited from IdentifiedData) | |
| ShouldSerializeCreatedByKey |
True if key should be serialized
(Inherited from BaseEntityData) | |
| ShouldSerializeCreationTimeXml |
True if the creation time should be serialized
(Inherited from BaseEntityData) | |
| ShouldSerializeKey |
True if key should be serialized
(Inherited from IdentifiedData) | |
| ShouldSerializeModifiedOn |
Never serialize modified on
(Inherited from IdentifiedData) | |
| ShouldSerializeObsoletedByKey |
True if key should be serialized
(Inherited from BaseEntityData) | |
| ShouldSerializeObsoletionTimeXml |
True if the creation time should be serialized
(Inherited from BaseEntityData) | |
| ShouldSerializePreviousVersionKey | Should serialize previous version? | |
| ShouldSerializeVersionKey | Should serialize the version key | |
| ToDisplay |
To display value
(Inherited from IdentifiedData) | |
| ToString |
Represent the versioned data as a string
(Overrides BaseEntityDataToString) | |
| ToXmlString |
Represent the current data as a string
(Inherited from IdentifiedData) |
| Name | Description | |
|---|---|---|
| m_annotations |
A list of custom tags which were added to this object
(Inherited from IdentifiedData) |
| Name | Description | |
|---|---|---|
| ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods) | |
| DelayLoadDisabled |
True if delay loading operations should be prevented
(Defined by ExtensionMethods) | |
| DisablePersistenceValidation |
Defer check constraints on the object in the persistence layer
(Defined by DataContextExtensions) | |
| GetDependentObjects |
Get dependent objects for model (Defined by ExtensionMethods) | |
| GetOrSetValueAtPath |
Get the property value
(Defined by ModelSetterMethods) | |
| LastModified | Gets the last modification date of the object (Defined by ExtensionMethods) | |
| NullifyProperties |
Ensure that all properties in propertiesToNullify are null
(Defined by ExtensionMethods) | |
| PreventDelayLoad |
Prevent delay load
(Defined by ExtensionMethods) | |
| ResolveGoldenRecord |
Resolve the managed target wrapper for ResolveManagedRecord(T) (Defined by ExtensionMethods) | |
| ResolveManagedRecord |
Resolve the managed target wrapper for ResolveManagedRecord(T) (Defined by ExtensionMethods) | |
| ResolveOwnedRecord |
Non generic method of ResolveOwnedRecordT(T, IPrincipal) (Defined by ExtensionMethods) | |
| ShouldDisablePersistenceValidation |
Determine if the object has been flagged for constraint deferral
(Defined by DataContextExtensions) | |
| WithControl |
With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions) |
In the SanteDB model, certain objects (like Concepts, Entities, and Acts) aren't ever updated or deleted. Rather, the updating or deletion of an object will result in a new version
The [P:ObsoletionTime] property is used to indicate the version of the object is obsolete, rather than the object itself. This means that a series of these VersionedEntityDataTHistoryModelType compose a single logical instance of the object.
The previous versions (representations of this object) can be retrieved using the [P:PreviousVersion] property