Skip to main content

RelationshipSchema

  • Namespace: PPDS.Migration.Models
  • Assembly: PPDS.Migration
  • Kind: Class

Summary

Schema definition for a relationship.

Members

Properties

Entity1

string Entity1 { get; set; }

Gets or sets the first entity in the relationship.

Entity1Attribute

string Entity1Attribute { get; set; }

Gets or sets the attribute on the first entity.

Entity2

string Entity2 { get; set; }

Gets or sets the second entity in the relationship.

Entity2Attribute

string Entity2Attribute { get; set; }

Gets or sets the attribute on the second entity.

IntersectEntity

string IntersectEntity { get; set; }

Gets or sets the intersect entity name for M2M relationships.

IsManyToMany

bool IsManyToMany { get; set; }

Gets or sets whether this is a many-to-many relationship.

IsReflexive

bool IsReflexive { get; set; }

Gets or sets whether this is a reflexive (self-referential) relationship.

Name

string Name { get; set; }

Gets or sets the relationship schema name.

TargetEntityPrimaryKey

string TargetEntityPrimaryKey { get; set; }

Gets or sets the target entity's primary key field name (e.g., "roleid"). Required for CMT format compatibility.