コード例 #1
0
 public ForeignKey CreateForeignKey(string foreignColumn, AddTableBase primaryTable)
 {
     return new ForeignKey(
         string.Format("FK_{0}_{1}", TableName, foreignColumn),
         this, foreignColumn, primaryTable);
 }
コード例 #2
0
 public ForeignKey CreateForeignKey(string name, string foreignColumn, AddTableBase primaryTable)
 {
     return new ForeignKey(name, this, foreignColumn, primaryTable);
 }