Click or drag to resize

OneToManyRelation Class

Specifies a 1:N relation between two tables.
Inheritance Hierarchy
SystemObject
  Colygon.MatchPoint.EntityModel.ConfigurationBaseRelation
    Colygon.MatchPoint.EntityModel.ConfigurationOneToManyRelation

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

The OneToManyRelation type exposes the following members.

Constructors
  NameDescription
Public methodOneToManyRelation
Initializes a new instance of the OneToManyRelation 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 fieldDeleteRelatedRows
Specifes whether related rows should be deleted when a row from the source entity is deleted.
Public fieldForeignKeyColumn
Specifies the foreign key column on the target entity. If empty, the name of the primary key column on the source entity will be used.
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 fieldPrimaryKeyColumn
Specifies an alternate primary key column on the source entity. If empty, the default primary key column on the source entity will be used.
Public fieldTargetEntityId
Specifes the target entity of this relation.
(Inherited from BaseRelation.)
Top
Remarks
This is a MatchPoint configuration class.
See Also