AssociationTSourceType Class |
Namespace: SanteDB.Core.Model
public abstract class Association<TSourceType> : IdentifiedData, ISimpleAssociation, IIdentifiedEntity where TSourceType : new(), IdentifiedData
The AssociationTSourceType type exposes the following members.
Name | Description | |
---|---|---|
AssociationTSourceType | Initializes a new instance of the AssociationTSourceType class |
Name | Description | |
---|---|---|
BatchOperation |
Gets or sets the operation
(Inherited from IdentifiedData.) | |
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 |
Get the modification date
(Overrides IdentifiedDataModifiedOn.) | |
SourceEntity |
The entity that this relationship targets
| |
SourceEntityKey |
Gets or sets the source entity's key (where the relationship is FROM)
| |
SourceType |
Gets the source type
| |
Tag |
Gets a tag which changes whenever the object is updated
(Inherited from IdentifiedData.) | |
Type |
Gets the type registration of this object
(Inherited from IdentifiedData.) |
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.) | |
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 equality of this association
(Overrides IdentifiedDataSemanticEquals(Object).) | |
ShouldSerializeBatchOperation |
Should serialize batch operation
(Inherited from IdentifiedData.) | |
ShouldSerializeKey |
True if key should be serialized
(Inherited from IdentifiedData.) | |
ShouldSerializeModifiedOn |
Never serialize modified on
(Inherited from IdentifiedData.) | |
ShouldSerializeSourceEntityKey |
Should serialize obsolete
| |
ToDisplay |
To display value
(Inherited from IdentifiedData.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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's data store, complex objects are associated with one another using this class. For example, when associating identifiers with an Act with an ActIdentifier the ActIdentifier is an association
This version of the assoication is used between non-versioned objects or for versioned objects where the version has no bearing on the association