Exemple #1
0
 public ForeignKey(ObjectName detailTable, IEnumerable<string> columns, ObjectName masterTable, IEnumerable<string> masterColumns)
 {
     _columns = new Key(columns);
     _detailTable = detailTable;
     _masterTable = masterTable;
     _masterColumns = new Key(masterColumns);
 }
Exemple #2
0
 public ForeignKey(string detailTable, IEnumerable<string> columns, string masterTable, IEnumerable<string> masterColumns)
 {
     _columns = new Key(columns);
     _detailTable = detailTable;
     _masterTable = masterTable;
     _masterColumns = new Key(masterColumns);
 }