예제 #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);
 }