Click or drag to resize

VersionedAssociationTSourceType Class

Represents a relational class which is bound on a version boundary
Inheritance Hierarchy
SystemObject
  SanteDB.Core.ModelIdentifiedData
    SanteDB.Core.ModelAssociationTSourceType
      SanteDB.Core.ModelVersionedAssociationTSourceType
        More...

Namespace:  SanteDB.Core.Model
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
public abstract class VersionedAssociation<TSourceType> : Association<TSourceType>, 
	IVersionedAssociation, ISimpleAssociation, IIdentifiedEntity
where TSourceType : new(), VersionedEntityData<TSourceType>

Type Parameters

TSourceType

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

The VersionedAssociationTSourceType type exposes the following members.

Constructors
  NameDescription
Protected methodVersionedAssociationTSourceType
Initializes a new instance of the VersionedAssociationTSourceType class
Top
Properties
  NameDescription
Public propertyBatchOperation
Gets or sets the operation
(Inherited from IdentifiedData.)
Public propertyEffectiveVersionSequenceId
Gets or sets the version sequence of the source object when this assoication became active
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
Get the modification date
(Inherited from AssociationTSourceType.)
Public propertyObsoleteVersionSequenceId
Gets or sets the sequence identifier of the source when this association is no longer active
Public propertySourceEntity
The entity that this relationship targets
(Inherited from AssociationTSourceType.)
Public propertySourceEntityKey
Gets or sets the source entity's key (where the relationship is FROM)
(Inherited from AssociationTSourceType.)
Public propertySourceType
Gets the source type
(Inherited from AssociationTSourceType.)
Public propertyTag
Gets a tag which changes whenever the object is updated
(Inherited from IdentifiedData.)
Public propertyType
Gets the type registration of this object
(Inherited from IdentifiedData.)
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 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 equality
(Overrides AssociationTSourceTypeSemanticEquals(Object).)
Public methodShouldSerializeBatchOperation
Should serialize batch operation
(Inherited from IdentifiedData.)
Public methodShouldSerializeEffectiveVersionSequenceId
Should serialize obsolete
Public methodShouldSerializeKey
True if key should be serialized
(Inherited from IdentifiedData.)
Public methodShouldSerializeModifiedOn
Never serialize modified on
(Inherited from IdentifiedData.)
Public methodShouldSerializeObsoleteVersionSequenceId
Should serialize obsolete
Public methodShouldSerializeSourceEntityKey
Should serialize obsolete
(Inherited from AssociationTSourceType.)
Public methodToDisplay
To display value
(Inherited from IdentifiedData.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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

This association is used to link two complex objects to one another when the version of the source object at time of assoication carries meaning.

See Also
Inheritance Hierarchy
SystemObject
  SanteDB.Core.ModelIdentifiedData
    SanteDB.Core.ModelAssociationTSourceType
      SanteDB.Core.ModelVersionedAssociationTSourceType
        SanteDB.Core.Model.ActsActParticipation
        SanteDB.Core.Model.ActsActRelationship
        SanteDB.Core.Model.DataTypesConceptName
        SanteDB.Core.Model.DataTypesConceptReferenceTerm
        SanteDB.Core.Model.DataTypesConceptRelationship
        SanteDB.Core.Model.DataTypesExtensionTBoundModel
        SanteDB.Core.Model.DataTypesIdentifierBaseTBoundModel
        SanteDB.Core.Model.DataTypesNoteTBoundModel
        SanteDB.Core.Model.EntitiesEntityAddress
        SanteDB.Core.Model.EntitiesEntityName
        SanteDB.Core.Model.EntitiesEntityRelationship
        SanteDB.Core.Model.EntitiesEntityTelecomAddress
        SanteDB.Core.Model.EntitiesPersonLanguageCommunication
        SanteDB.Core.Model.EntitiesPlaceService