VersionedEntityDataTHistoryModelType Class |
Namespace: SanteDB.Core.Model
public abstract class VersionedEntityData<THistoryModelType> : BaseEntityData, IVersionedEntity, IIdentifiedEntity 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 | |
---|---|---|
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.) | |
IsDelayLoadEnabled |
True if the class is currently loading associations when accessed
(Inherited from IdentifiedData.) | |
Key |
Gets or sets the primary identifying UUID of this object
(Inherited from IdentifiedData.) | |
LoadState |
Gets or sets whether the object was partial loaded
(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 | |
---|---|---|
AddAnnotation |
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.) | |
DelayLoadTEntity |
Get associated entity
(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.) | |
GetLocked |
Clone the specified data
(Inherited from IdentifiedData.) | |
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.) | |
SemanticEquals |
Determines the semantic equality of this object an obj (Inherited from IdentifiedData.) | |
SetPreviousVersion |
Sets the previous version
| |
ShouldSerializeBatchOperation |
Should serialize batch operation
(Inherited from IdentifiedData.) | |
ShouldSerializeCreatedByKey |
True if key 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.) | |
ShouldSerializePreviousVersionKey |
Should serialize previous version?
| |
ToDisplay |
To display value
(Inherited from IdentifiedData.) | |
ToString |
Represent the versioned data as a string
(Overrides BaseEntityDataToString.) |
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.) | |
CreateExtensions |
Runs all registered extensions on the object
(Defined by ExtensionUtil.) | |
GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) | |
LoadCollectionTReturn |
Delay load property
(Defined by ExtensionMethods.) | |
LoadProperty(String, Boolean) | Overloaded.
Delay load property
(Defined by ExtensionMethods.) | |
LoadPropertyTReturn(String, Boolean) | Overloaded.
Delay load property
(Defined by ExtensionMethods.) | |
TryGetExisting |
Try get by classifier
(Defined by ModelExtensions.) | |
UpdateParentKeys | (Defined by ModelExtensions.) | |
WasLoaded |
Returns true if the property has been loaded
(Defined by ExtensionMethods.) |
In SanteDB, certain objects are not actually updated or deleted, rather they are subsequent versions of the data appended to the previous. This class represents the base class of all objects which are versioned objects