Click or drag to resize

Entity Class

Represents the base class of all entities (persons, places, things) in SanteDB
Inheritance Hierarchy
SystemObject
  SanteDB.Core.ModelIdentifiedData
    SanteDB.Core.ModelBaseEntityData
      SanteDB.Core.ModelVersionedEntityDataEntity
        SanteDB.Core.Model.EntitiesEntity
          More

Namespace: SanteDB.Core.Model.Entities
Assembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
public class Entity : VersionedEntityData<Entity>, 
	ITaggable, IExtendable, IAnnotatedResource, IIdentifiedResource, IHasClassConcept, 
	IHasTypeConcept, IHasState, IHasTemplate, IHasIdentifiers, IHasRelationships, 
	IGeoTagged, IHasPolicies

The Entity type exposes the following members.

Constructors
 NameDescription
Public methodEntity Creates a new instance of the entity class
Top
Properties
 NameDescription
Public property_Self A query parameter which references itself - this is for query filters which pass the original data in
(Inherited from IdentifiedData)
Public propertyAddresses Gets a list of all addresses associated with the entity
Public propertyBatchOperation Gets or sets the operation
(Inherited from IdentifiedData)
Public propertyClassConcept Class concept datal load property
Public propertyClassConceptKey Class concept
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 propertyCreationAct Creation act reference
Public propertyCreationActKey Creation act reference
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 propertyDeterminerConcept Determiner concept
Public propertyDeterminerConceptKey Determiner concept
Public propertyExtensions Gets a list of all extensions associated with the entity
Public propertyGeoTag Gets or sets the geo tag
Public propertyGeoTagKey Gets the geo tag key
Public propertyIdentifiers Gets the identifiers associated with this entity
Public propertyIsHeadVersion True if the object is the head version
(Inherited from VersionedEntityDataTHistoryModelType)
Public propertyKey Gets or sets the primary identifying UUID of this object
(Inherited from IdentifiedData)
Public propertyModifiedOn Gets the time that the object was last modified (from base data, default to CreationTime)
(Inherited from BaseEntityData)
Public propertyNames Gets a list of all names associated with the entity
Public propertyNotes Gets a list of all notes associated with the entity
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 propertyParticipations Gets the acts in which this entity participates
Public propertyPolicies Gets or sets the security policy instances associated with the entity
Public propertyPreviousVersionKey Gets or sets the UUID of the previous version of this record
(Inherited from VersionedEntityDataTHistoryModelType)
Public propertyRelationships Gets a list of all associated entities for this entity
Public propertyStatusConcept Status concept id
Public propertyStatusConceptKey Status concept id
Public propertyTag Override the ETag
(Inherited from VersionedEntityDataTHistoryModelType)
Public propertyTags Gets a list of all tags associated with the entity
Public propertyTelecoms Gets a list of all telecommunications addresses associated with the entity
Public propertyTemplate Gets or sets the template definition
Public propertyTemplateKey Gets the template key
Public propertyType Gets the type registration of this object
(Inherited from IdentifiedData)
Public propertyTypeConcept Type concept identifier
Public propertyTypeConceptKey Type concept identifier
Public propertyVersionKey Gets or sets the UUID of the current version of this object
(Inherited from VersionedEntityDataTHistoryModelType)
Public propertyVersionSequence The sequence number of the version (for ordering)
(Inherited from VersionedEntityDataTHistoryModelType)
Top
Methods
 NameDescription
Public methodAddAnnotationT Add an annotated object
(Inherited from IdentifiedData)
Public methodAddExtension Add an extension to this entity
Public methodAddIdentifier Add an identifier to this object
Public methodAddPolicy Add a policy to this entity
Public methodAddTag Add a tag to this entity
Public methodAddTagUnchecked Adds a tag to the tag collection without first attempting to load tags
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
(Overrides IdentifiedDataDeepCopy)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows 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 methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetPreviousVersion Gets the previous version or loads it from the database if needed
(Inherited from VersionedEntityDataTHistoryModelType)
Public methodGetTag Get the specified tag
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsEmpty Determines w
(Inherited from IdentifiedData)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveAllTags Remove tags matching predicate from the tag collection
Public methodRemoveAnnotation Remove annotation
(Inherited from IdentifiedData)
Public methodRemoveAnnotationsT Remove annotation
(Inherited from IdentifiedData)
Public methodRemoveExtension Remove the specified extension
Public methodRemoveIdentifier Remove identifiers matching removeIdentifier
Public methodRemoveTag Remove the specified tagKey from this objects tags
Public methodSemanticEquals Semantic equality function
(Overrides IdentifiedDataSemanticEquals(Object))
Public methodShouldSeralizeVersionSequence Should serialize the version sequence
(Inherited from VersionedEntityDataTHistoryModelType)
Public methodShouldSerializeAddresses Should serialize addresses
Public methodShouldSerializeBatchOperation Should serialize batch operation
(Inherited from IdentifiedData)
Public methodShouldSerializeCreatedByKey True if key should be serialized
(Inherited from BaseEntityData)
Public methodShouldSerializeCreationActKey Should serialize creation act
Public methodShouldSerializeCreationTimeXml True if the creation time should be serialized
(Inherited from BaseEntityData)
Public methodShouldSerializeExtensions Shoudl serialize extensions
Public methodShouldSerializeIdentifiers Should serialize identifiers
Public methodShouldSerializeKey True if key should be serialized
(Inherited from IdentifiedData)
Public methodShouldSerializeModifiedOn Never serialize modified on
(Inherited from IdentifiedData)
Public methodShouldSerializeNames Should serialize Names
Public methodShouldSerializeNotes Should serialize notes
Public methodShouldSerializeObsoletedByKey True if key should be serialized
(Inherited from BaseEntityData)
Public methodShouldSerializeObsoletionTimeXml True if the creation time should be serialized
(Inherited from BaseEntityData)
Public methodShouldSerializeParticipations Should serialize participations
Public methodShouldSerializePreviousVersionKey Should serialize previous version?
(Inherited from VersionedEntityDataTHistoryModelType)
Public methodShouldSerializeTags Should serialize tags
Public methodShouldSerializeTelecoms Should serialize telecoms
Public methodShouldSerializeTemplateKey Should serialize template key
Public methodShouldSerializeTypeConceptKey Should serialize type concept
Public methodShouldSerializeVersionKey Should serialize the version key
(Inherited from VersionedEntityDataTHistoryModelType)
Public methodToDisplay Render the display of this entity
(Overrides IdentifiedDataToDisplay)
Public methodToString Represent the versioned data as a string
(Inherited from VersionedEntityDataTHistoryModelType)
Public methodToXmlString Represent the current data as a string
(Inherited from IdentifiedData)
Public methodTryGetTag Try to fetch the tag
Protected methodValidateClassKey Validate the class key
Top
Fields
 NameDescription
Protected fieldm_annotations A list of custom tags which were added to this object
(Inherited from IdentifiedData)
Protected fieldm_classConceptKey Internal reference for class concept
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 MethodDelayLoadDisabled True if delay loading operations should be prevented
(Defined by ExtensionMethods)
Public Extension MethodDisablePersistenceValidation Defer check constraints on the object in the persistence layer
(Defined by DataContextExtensions)
Public Extension MethodFilterManagedReferenceLinks Get managed reference links
(Defined by ExtensionMethods)
Public Extension MethodGetAddresses Gets or loads addresses attached to an entity
(Defined by DelayLoadUtils)
Public Extension MethodGetDependentObjects Get dependent objects for model
(Defined by ExtensionMethods)
Public Extension MethodGetExtensions Gets or loads extensions
(Defined by DelayLoadUtils)
Public Extension MethodGetIdentifiers Gets or loads identifiers
(Defined by DelayLoadUtils)
Public Extension MethodGetNames Gets or loads names attached to an entity
(Defined by DelayLoadUtils)
Public Extension MethodGetNotes Gets or loads notes
(Defined by DelayLoadUtils)
Public Extension MethodGetOrSetValueAtPath Get the property value
(Defined by ModelSetterMethods)
Public Extension MethodGetParticipations Get the acts in which this entity participates
(Defined by DelayLoadUtils)
Public Extension MethodGetRelationships Gets or loads relationships
(Defined by DelayLoadUtils)
Public Extension MethodGetTags Gets or loads tags
(Defined by DelayLoadUtils)
Public Extension MethodGetTelecoms Gets or loads telecoms attached to an entity
(Defined by DelayLoadUtils)
Public Extension MethodHasDirectOrParentRelationshipWith Checks whether me has a direct relationship with targetEntityKey or if there exists a relationship with targetEntityKey via one of its Parent associations
(Defined by ExtensionMethods)
Public Extension MethodLastModifiedGets the last modification date of the object
(Defined by ExtensionMethods)
Public Extension MethodLoadCollectionTReturn Delay load property
(Defined by ExtensionMethods)
Public Extension MethodLoadProperty Delay load property
(Defined by ExtensionMethods)
Public Extension MethodLoadPropertyTReturn Delay load property
(Defined by ExtensionMethods)
Public Extension MethodNullifyProperties Ensure that all properties in propertiesToNullify are null
(Defined by ExtensionMethods)
Public Extension MethodPreventDelayLoad Prevent delay load
(Defined by ExtensionMethods)
Public Extension MethodResolveGoldenRecord Resolve the managed target wrapper for ResolveManagedRecord(T)
(Defined by ExtensionMethods)
Public Extension MethodResolveManagedRecord Resolve the managed target wrapper for ResolveManagedRecord(T)
(Defined by ExtensionMethods)
Public Extension MethodResolveOwnedRecord Non generic method of ResolveOwnedRecordT(T, IPrincipal)
(Defined by ExtensionMethods)
Public Extension MethodShouldDisablePersistenceValidation Determine if the object has been flagged for constraint deferral
(Defined by DataContextExtensions)
Public Extension MethodTryGetTextGenerator Try to get the text generator for me
(Defined by TextGeneratorUtil)
Public Extension MethodTryResolveClassConceptToType Resolves me to the appropriate RIM type based on its class key
(Defined by ExtensionMethods)
Public Extension MethodTryResolveTypeConceptToType Resolves me to the appropriate RIM type based on its type concept key
(Defined by ExtensionMethods)
Public Extension MethodWasLoaded Returns true if the property has been loaded
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
Remarks
In SanteDB, an entity represents a physical object which can be acted upon or can participate in an act.
See Also
Inheritance Hierarchy