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