Click or drag to resize

ManyToManyRelation Class

Specifies a M:N relation between two tables using a join table .
Inheritance Hierarchy
SystemObject
  Colygon.MatchPoint.EntityModel.ConfigurationBaseRelation
    Colygon.MatchPoint.EntityModel.ConfigurationManyToManyRelation

Namespace:  Colygon.MatchPoint.EntityModel.Configuration
Assembly:  Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2019.2.1.0
Syntax
C#
[SerializableAttribute]
public class ManyToManyRelation : BaseRelation

The ManyToManyRelation type exposes the following members.

Constructors
  NameDescription
Public methodManyToManyRelation
Initializes a new instance of the ManyToManyRelation class
Top
Properties
  NameDescription
Public propertySourceEntity (Inherited from BaseRelation.)
Public propertyTargetEntity
Returns the target entity of this relation.
(Inherited from BaseRelation.)
Top
Methods
  NameDescription
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Inherited from BaseRelation.)
Top
Fields
  NameDescription
Public fieldJoinTableName
Specifies the name of the table that is used to link the current entity (source entity) with the target entity.
Public fieldName
Specifies the name of the relation. This name can be used to reference the relation (e.g.: in a ChoiceField in the Form Web Part).
(Inherited from BaseRelation.)
Public fieldSourceForeignKeyColumn
Specifes the foreign key column of the source entity on the join table. If empty, the name of the primary key column on the source entity will be used.
Public fieldSourcePrimaryKeyColumn
Specifies an alternate primary key column on the source entity. If empty, the primary key column on the source entity will be used.
Public fieldTargetEntityId
Specifes the target entity of this relation.
(Inherited from BaseRelation.)
Public fieldTargetForeignKeyColumn
Specifes the foreign key column of the target entity on the join table. If empty, the name of the primary key column on the target entity will be used.
Public fieldTargetPrimaryKeyColumn
Specifies an alternate primary key column on the target entity. If empty, the primary key column on the target entity will be used.
Top
Remarks
This is a MatchPoint configuration class.
See Also