Click or drag to resize
EF Visual Editor

BidirectionalAssociation Class

DomainRelationship BidirectionalAssociation
Inheritance Hierarchy
SystemObject
  ModelElement
    ElementLink
      Sawczyn.EFDesigner.EFModelAssociation
        Sawczyn.EFDesigner.EFModelBidirectionalAssociation

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 BidirectionalAssociation : Association
Request Example View Source

The BidirectionalAssociation type exposes the following members.

Properties
  NameDescription
Public propertyBidirectionalSource
DomainRole BidirectionalSource
Public propertyBidirectionalTarget
DomainRole BidirectionalTarget
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 BidirectionalSource domain role.
(Overrides AssociationSource.)
Public propertySourceCustomAttributes
Gets or sets the value of SourceCustomAttributes domain property. Any custom attributes to be generated for the source property. Will be passed through as entered.
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 propertySourceDescription
Gets or sets the value of SourceDescription domain property. Detailed code documentation for this end of the association
Public propertySourceImplementNotify
Gets or sets the value of SourceImplementNotify domain property. Should this end participate in INotifyPropertyChanged activities? Only valid for non-collection targets.
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 propertySourcePropertyName
Gets or sets the value of SourcePropertyName domain property. Name of the entity property that returns the value at this end
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 propertySourceSummary
Gets or sets the value of SourceSummary domain property. Short code documentation for this end of the 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 BidirectionalTarget 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.)
Top
Methods
  NameDescription
Public methodStatic memberGetBidirectionalSources
Gets a list of BidirectionalSources.
Public methodStatic memberGetBidirectionalTargets
Gets a list of BidirectionalTargets.
Public methodGetDisplayText (Overrides AssociationGetDisplayText.)
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 BidirectionalAssociation links between a given ModelClass and a ModelClass.
Public methodStatic memberGetLinksToBidirectionalSources
Get the list of BidirectionalAssociation links to a ModelClass.
Public methodStatic memberGetLinksToBidirectionalTargets
Get the list of BidirectionalAssociation links to a ModelClass.
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