Click or drag to resize

VersionedEntityDataTHistoryModelType Class

Represents versioned based data
Inheritance Hierarchy

Namespace:  SanteDB.Core.Model
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
public abstract class VersionedEntityData<THistoryModelType> : BaseEntityData, 
	IVersionedEntity, IIdentifiedEntity
where THistoryModelType : new(), VersionedEntityData<THistoryModelType>

Type Parameters

THistoryModelType

[Missing <typeparam name="THistoryModelType"/> documentation for "T:SanteDB.Core.Model.VersionedEntityData`1"]

The VersionedEntityDataTHistoryModelType type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBatchOperation
Gets or sets the operation
(Inherited from IdentifiedData.)
Public propertyCreatedBy
Gets or sets the user that created this base data
(Inherited from BaseEntityData.)
Public propertyCreatedByKey
Gets or sets the security provenance object which represents the creation of this object
(Inherited from BaseEntityData.)
Public propertyCreationTime
Gets or sets the time at which the data was created
(Inherited from BaseEntityData.)
Public propertyCreationTimeXml
Gets or sets the creation time as an ISO date format
(Inherited from BaseEntityData.)
Public propertyIsDelayLoadEnabled
True if the class is currently loading associations when accessed
(Inherited from IdentifiedData.)
Public propertyKey
Gets or sets the primary identifying UUID of this object
(Inherited from IdentifiedData.)
Public propertyLoadState
Gets or sets whether the object was partial loaded
(Inherited from IdentifiedData.)
Public propertyModifiedOn
Gets the time that the object was last modified (from base data, default to CreationTime)
(Inherited from BaseEntityData.)
Public propertyObsoletedBy
Gets or sets the user that obsoleted this base data
(Inherited from BaseEntityData.)
Public propertyObsoletedByKey
Gets or sets the security provenance object which represents the obsoletion of this data
(Inherited from BaseEntityData.)
Public propertyObsoletionTime
Gets or sets the time when the data is or will become invalid
(Inherited from BaseEntityData.)
Public propertyObsoletionTimeXml
Gets or sets the time that the data is no longer valid (was deleted/obsoleted) in ISO format
(Inherited from BaseEntityData.)
Public propertyPreviousVersionKey
Gets or sets the UUID of the previous version of this record
Public propertyTag
Override the ETag
(Overrides IdentifiedDataTag.)
Public propertyType
Gets the type registration of this object
(Inherited from IdentifiedData.)
Public propertyVersionKey
Gets or sets the UUID of the current version of this object
Public propertyVersionSequence
The sequence number of the version (for ordering)
Top
Methods
  NameDescription
Public methodAddAnnotation
Add an annotated object
(Inherited from IdentifiedData.)
Public methodClone
Clone this object
(Inherited from IdentifiedData.)
Public methodCopyAnnotations
Copy annotations from another resource
(Inherited from IdentifiedData.)
Public methodDeepCopy
Provide a deep copy of the specified data
(Inherited from IdentifiedData.)
Protected methodDelayLoadTEntity
Get associated entity
(Inherited from IdentifiedData.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAnnotationsT
Get annotations of specified T
(Inherited from IdentifiedData.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLocked
Clone the specified data
(Inherited from IdentifiedData.)
Public methodGetPreviousVersion
Gets the previous version or loads it from the database if needed
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsEmpty
Determines w
(Inherited from IdentifiedData.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveAnnotation
Remove annotation
(Inherited from IdentifiedData.)
Public methodSemanticEquals
Determines the semantic equality of this object an obj
(Inherited from IdentifiedData.)
Public methodSetPreviousVersion
Sets the previous version
Public methodShouldSerializeBatchOperation
Should serialize batch operation
(Inherited from IdentifiedData.)
Public methodShouldSerializeCreatedByKey
True if key should be serialized
(Inherited from BaseEntityData.)
Public methodShouldSerializeKey
True if key should be serialized
(Inherited from IdentifiedData.)
Public methodShouldSerializeModifiedOn
Never serialize modified on
(Inherited from IdentifiedData.)
Public methodShouldSerializeObsoletedByKey
True if key should be serialized
(Inherited from BaseEntityData.)
Public methodShouldSerializePreviousVersionKey
Should serialize previous version?
Public methodToDisplay
To display value
(Inherited from IdentifiedData.)
Public methodToString
Represent the versioned data as a string
(Overrides BaseEntityDataToString.)
Top
Fields
  NameDescription
Protected fieldm_annotations
A list of custom tags which were added to this object
(Inherited from IdentifiedData.)
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
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.)
Public Extension MethodCreateExtensions
Runs all registered extensions on the object
(Defined by ExtensionUtil.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Public Extension MethodLoadCollectionTReturn
Delay load property
(Defined by ExtensionMethods.)
Public Extension MethodLoadProperty(String, Boolean)Overloaded.
Delay load property
(Defined by ExtensionMethods.)
Public Extension MethodLoadPropertyTReturn(String, Boolean)Overloaded.
Delay load property
(Defined by ExtensionMethods.)
Public Extension MethodTryGetExisting
Try get by classifier
(Defined by ModelExtensions.)
Public Extension MethodUpdateParentKeys (Defined by ModelExtensions.)
Public Extension MethodWasLoaded
Returns true if the property has been loaded
(Defined by ExtensionMethods.)
Top
Remarks

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

See Also