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
stringcolumns
ElementRelationshipColumn[]
Properties
ChildElement
[JsonProperty("childElement")]
[Display(Name = "Child Element")]
public string ChildElement { get; set; }
Property Value
Columns
[JsonProperty("columns")]
public List<ElementRelationshipColumn> Columns { get; set; }
Property Value
DeleteOnCascade
[JsonProperty("deleteOnCascade")]
[Display(Name = "Delete On Cascade")]
public bool DeleteOnCascade { get; set; }
Property Value
UpdateOnCascade
[JsonProperty("updateOnCascade")]
[Display(Name = "Update On Cascade")]
public bool UpdateOnCascade { get; set; }
Property Value
Methods
DeepCopy()
public ElementRelationship DeepCopy()