Inheritance: DbForeignKey
Esempio n. 1
0
 public string NameFor(DbManyToOne fk)
 {
     if (fk.Columns.Count == 1)
         return fk.Columns[0].FkColumnRef.Name.ReplaceId().CleanUp();
     else
         return NameFor(fk.PkTableRef);
 }
Esempio n. 2
0
 public string TypeFor(DbManyToOne fk)
 {
     return NameFor(fk.PkTableRef);
 }