Click or drag to resize
EF Visual Editor

UnidirectionalAssociation Class

DomainRelationship UnidirectionalAssociation
Inheritance Hierarchy
SystemObject
  ModelElement
    ElementLink
      Sawczyn.EFDesigner.EFModelAssociation
        Sawczyn.EFDesigner.EFModelUnidirectionalAssociation

Namespace:  Sawczyn.EFDesigner.EFModel
Assembly:  Sawczyn.EFDesigner.EFModel.Dsl (in Sawczyn.EFDesigner.EFModel.Dsl.dll) Version: 2.0.5.3 (2.0.5.3)
Syntax
public class UnidirectionalAssociation : Association
Request Example View Source

The UnidirectionalAssociation type exposes the following members.

Properties
  NameDescription
Public propertyCollectionClass (Inherited from Association.)
Public propertyDependent
Gets the dependent ModelClass of this association, if any
(Inherited from Association.)
Public propertyFKPropertyName
Gets or sets the value of FKPropertyName domain property. Name of property holding foreign key value for this association
(Inherited from Association.)
Public propertyForeignKeyLocation
Gets or sets the value of ForeignKeyLocation domain property. Which class should hold the foreign key for this relationship
(Inherited from Association.)
Public propertyJoinTableName
Gets or sets the value of JoinTableName domain property. Optional name of the database table used to join the two end classes for many-to-many associations. If empty, a reasonable default name will be used.
(Inherited from Association.)
Public propertyLinkedElements (Inherited from ElementLink.)
Public propertyName
Gets or sets the value of Name domain property. Solely for display in the object list of the VStudio property window
(Inherited from Association.)
Public propertyPartition (Inherited from ModelElement.)
Public propertyPersistent
Gets or sets the value of Persistent domain property. If false, this is a transient association not stored in the database but instead created in code
(Inherited from Association.)
Public propertyPrincipal
Gets the principal ModelClass of this association, if any
(Inherited from Association.)
Public propertySource
Gets the element playing UnidirectionalSource domain role.
(Overrides AssociationSource.)
Public propertySourceDeleteAction
Gets or sets the value of SourceDeleteAction domain property. The action to take when an entity on this end is deleted.
(Inherited from Association.)
Public propertySourceMultiplicity
Gets or sets the value of SourceMultiplicity domain property. The allowed number of entities at this end of the association
(Inherited from Association.)
Public propertySourceRole
Gets or sets the value of SourceRole domain property. Which object(s) in this association is/are the principal object(s)?
(Inherited from Association.)
Public propertyStore (Inherited from ModelElement.)
Public propertySummary
Gets or sets the value of Summary domain property. Brief code documentation
(Inherited from Association.)
Public propertyTarget
Gets the element playing UnidirectionalTarget domain role.
(Overrides AssociationTarget.)
Public propertyTargetCustomAttributes
Gets or sets the value of TargetCustomAttributes domain property. Any custom attributes to be generated for the target property. Will be passed through as entered.
(Inherited from Association.)
Public propertyTargetDeleteAction
Gets or sets the value of TargetDeleteAction domain property. The action to take when an entity on this end is deleted.
(Inherited from Association.)
Public propertyTargetDescription
Gets or sets the value of TargetDescription domain property. Detailed code documentation for this end of the association
(Inherited from Association.)
Public propertyTargetImplementNotify
Gets or sets the value of TargetImplementNotify domain property. Should this end participate in INotifyPropertyChanged activities? Only valid for non-collection targets.
(Inherited from Association.)
Public propertyTargetMultiplicity
Gets or sets the value of TargetMultiplicity domain property. The allowed number of entities at this end of the association
(Inherited from Association.)
Public propertyTargetPropertyName
Gets or sets the value of TargetPropertyName domain property. Name of the entity property that returns the value at this end
(Inherited from Association.)
Public propertyTargetRole
Gets or sets the value of TargetRole domain property. Which object(s) in this association is/are the dependent object(s)?
(Inherited from Association.)
Public propertyTargetSummary
Gets or sets the value of TargetSummary domain property. Short code documentation for this end of the association
(Inherited from Association.)
Public propertyUnidirectionalSource
DomainRole UnidirectionalSource
Public propertyUnidirectionalTarget
DomainRole UnidirectionalTarget
Top
Methods
  NameDescription
Public methodGetDisplayText
How this association should be shown in string representation
(Inherited from Association.)
Public methodGetDomainClass (Inherited from ModelElement.)
Public methodGetDomainRelationship (Inherited from ElementLink.)
Public methodGetForeignKeyPropertyNames
Gets the individual foreign key property names defined in the FKPropertyName property
(Inherited from Association.)
Public methodStatic memberGetLinks
Get any UnidirectionalAssociation links between a given ModelClass and a ModelClass.
Public methodStatic memberGetLinksToUnidirectionalSources
Get the list of UnidirectionalAssociation links to a ModelClass.
Public methodStatic memberGetLinksToUnidirectionalTargets
Get the list of UnidirectionalAssociation links to a ModelClass.
Public methodStatic memberGetUnidirectionalSources
Gets a list of UnidirectionalSources.
Public methodStatic memberGetUnidirectionalTargets
Gets a list of UnidirectionalTargets.
Top
Extension Methods
  NameDescription
Public Extension MethodGetActiveDiagram (Defined by ModelElementExtensions.)
Public Extension MethodGetCompartment
Gets the named compartment in this element
(Defined by ModelElementExtensions.)
Public Extension MethodGetDisplayText (Defined by ModelElementExtensions.)
Public Extension MethodGetFirstShapeElement (Defined by ModelElementExtensions.)
Public Extension MethodInvalidateDiagrams
Causes all diagrams to redraw
(Defined by ModelElementExtensions.)
Public Extension MethodIsLoading (Defined by ModelElementExtensions.)
Public Extension MethodLocateInDiagram (Defined by ModelElementExtensions.)
Public Extension MethodRedraw (Defined by ModelElementExtensions.)
Top
See Also