Click or drag to resize

EntityRelationshipMaster Class

Represents a relationship
Inheritance Hierarchy
SystemObject
  SanteDB.Core.ModelIdentifiedData
    SanteDB.Core.ModelAssociationEntity
      SanteDB.Core.ModelVersionedAssociationEntity
        SanteDB.Core.Model.EntitiesEntityRelationship
          SanteDB.Persistence.MDM.ModelEntityRelationshipMaster

Namespace: SanteDB.Persistence.MDM.Model
Assembly: SanteDB.Persistence.MDM (in SanteDB.Persistence.MDM.dll) Version: 3.0.2081-alpha+a75c6ef344438c8f05e3aa0d0480396778be147b
Syntax
public class EntityRelationshipMaster : EntityRelationship, 
	IMdmRedirectedRelationship, ITargetedAssociation, ISimpleTargetedAssociation, ISimpleAssociation, IAnnotatedResource, 
	IIdentifiedResource

The EntityRelationshipMaster type exposes the following members.

Constructors
 NameDescription
Public methodEntityRelationshipMaster Default ctor for serialization
Public methodEntityRelationshipMaster(Entity, Entity, EntityRelationship) Construct an ER master
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 propertyBatchOperation Gets or sets the operation
(Inherited from IdentifiedData)
Public propertyClassification Gets or sets the an additional (sub-type) of the relationship
(Inherited from EntityRelationship)
Public propertyClassificationKey Association type key
(Inherited from EntityRelationship)
Public propertyEffectiveVersionSequenceId Gets or sets the version sequence of the source object when this assoication became active
(Inherited from VersionedAssociationTSourceType)
Public propertyExternalKey Gets or sets the external key for the object
(Inherited from EntityRelationship)
Public propertyHolder The entity that this relationship targets
(Inherited from EntityRelationship)
Public propertyHolderKey The entity that this relationship targets
(Inherited from EntityRelationship)
Public propertyKey Gets or sets the primary identifying UUID of this object
(Inherited from IdentifiedData)
Public propertyModifiedOn Get the modification date
(Inherited from AssociationTSourceType)
Public propertyNegationIndicator A negation indicator - used to flag this relationship as negated
(Inherited from EntityRelationship)
Public propertyObsoleteVersionSequenceId Gets or sets the sequence identifier of the source when this association is no longer active
(Inherited from VersionedAssociationTSourceType)
Public propertyOriginalHolderKey Gets the original relationship
Public propertyOriginalTargetKey Gets the original relationship
Public propertyQuantity Represents the quantity of target in source
(Inherited from EntityRelationship)
Public propertyRelationshipRole Gets or sets the association type
(Inherited from EntityRelationship)
Public propertyRelationshipRoleKey Association type key
(Inherited from EntityRelationship)
Public propertyRelationshipType Gets or sets the association type
(Inherited from EntityRelationship)
Public propertyRelationshipTypeKey Association type key
(Inherited from EntityRelationship)
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 propertyStrength The strength (confidence) of the relationship between source and target
(Inherited from EntityRelationship)
Public propertyTag Gets a tag which changes whenever the object is updated
(Inherited from IdentifiedData)
Public propertyTargetEntity Target entity reference
(Inherited from EntityRelationship)
Public propertyTargetEntityKey The target of the association
(Inherited from EntityRelationship)
Public propertyType Get the type name
(Overrides IdentifiedDataType)
Top
Methods
 NameDescription
Public methodAddAnnotationT 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 EntityRelationship)
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 methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsEmpty Is empty
(Inherited from EntityRelationship)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveAnnotation Remove annotation
(Inherited from IdentifiedData)
Public methodRemoveAnnotationsT Remove annotation
(Inherited from IdentifiedData)
Public methodSemanticEquals Determine semantic equality
(Inherited from EntityRelationship)
Public methodShouldSerializeBatchOperation Should serialize batch operation
(Inherited from IdentifiedData)
Public methodShouldSerializeKey True if key should be serialized
(Inherited from IdentifiedData)
Public methodShouldSerializeModifiedOn Never serialize modified on
(Inherited from IdentifiedData)
Public methodShouldSerializeNegationIndicator Should serialize inversion indicator?
(Inherited from EntityRelationship)
Public methodShouldSerializeObsoleteVersionSequenceId Should serialize obsolete
(Inherited from VersionedAssociationTSourceType)
Public methodShouldSerializeQuantity Should serialize quantity?
(Inherited from EntityRelationship)
Public methodShouldSerializeSourceEntityKey Shoudl serialize source entity?
(Inherited from EntityRelationship)
Public methodToDisplay To display value
(Inherited from IdentifiedData)
Public methodToEntityRelationship Convert to entity relationship
Public methodToString Represent as string
(Inherited from EntityRelationship)
Public methodToXmlString Represent the current data as a string
(Inherited from IdentifiedData)
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 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 MethodGetDependentObjects Get dependent objects for model
(Defined by ExtensionMethods)
Public Extension MethodGetOrSetValueAtPath Get the property value
(Defined by ModelSetterMethods)
Public Extension MethodGetTargetAsT Get the target of the relationship
(Defined by DelayLoadUtils)
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 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
See Also