Open GoogleCodeExporter opened 9 years ago
May be this version of code line is better:
var otherAssociation = otherType.Associations.Single(a => a.Type == table.Type.Name && a.ThisKey == association.OtherKey && a.OtherKey == association.ThisKey);
Now association selected by table name, destination column and source column.
In your example FK matches by 2 first conditions.
Original comment by Goroh...@gmail.com
on 9 Apr 2013 at 3:14
Original issue reported on code.google.com by
danja...@googlemail.com
on 25 Aug 2010 at 9:45