Table of Contents

Class ElementRelationship

Namespace
JJMasterData.Commons.Data.Entity.Models
Assembly
JJMasterData.Commons.dll

Specific relationship information between tables

public class ElementRelationship
Inheritance
ElementRelationship
Inherited Members

Remarks

2017-03-22 JJTeam

Constructors

ElementRelationship()

public ElementRelationship()

ElementRelationship(string, params ElementRelationshipColumn[])

public ElementRelationship(string childElement, params ElementRelationshipColumn[] columns)

Parameters

childElement string
columns ElementRelationshipColumn[]

Properties

ChildElement

[JsonProperty("childElement")]
[Display(Name = "Child Element")]
public string ChildElement { get; set; }

Property Value

string

Columns

[JsonProperty("columns")]
public List<ElementRelationshipColumn> Columns { get; set; }

Property Value

List<ElementRelationshipColumn>

DeleteOnCascade

[JsonProperty("deleteOnCascade")]
[Display(Name = "Delete On Cascade")]
public bool DeleteOnCascade { get; set; }

Property Value

bool

UpdateOnCascade

[JsonProperty("updateOnCascade")]
[Display(Name = "Update On Cascade")]
public bool UpdateOnCascade { get; set; }

Property Value

bool

Methods

DeepCopy()

public ElementRelationship DeepCopy()

Returns

ElementRelationship