/// <summary>Creates the code base relations and maps it to the associated tables. </summary> public static CsDbCodeRelation Create(CsDbArcRelation architecture, CsDbcTableRow_Column pkKey, CsDbcTableRow_Column fkKey) { var item = new CsDbCodeRelation(architecture, pkKey, fkKey); if (pkKey.Row == fkKey.Row) pkKey.Row.Table.Relations.Add(item); else { pkKey.Row.Table.Relations.Add(item); fkKey.Row.Table.Relations.Add(item); } return item; }
internal CsDbcTableRow_Reload(CsDbcTableRow_Column primaryColumn) { PrimaryColumn = primaryColumn; }
internal CsDbcRowInterface_Member(CsDbcTableRow_Column column) { Column = column; }
/// <summary>Creates a new column.</summary> public CsDbcTableRowPoco_Column(CsDbcTableRow_Column owner) { Owner = owner; }
public CsDbcTable_ColAttribute(CsDbcTableRow_Column column) { Column = column; }
/// <summary>ctor</summary> private CsDbCodeRelation(CsDbArcRelation architecture, CsDbcTableRow_Column pkKey, CsDbcTableRow_Column fkKey) { Architecture = architecture; PkKey = pkKey; FkKey = fkKey; }
/// <summary>ctor</summary> public CsDbcTableRow_UnsignedColumn(CsDbcTableRow_Column baseColumn) { BaseColumn = baseColumn; }