protected virtual string GetColumnName(MemberInfo subject, Relation relation) { if (relation.From == relation.To) { // circular many-to-many return(subject.Name); } else { return(KeyMapper.DefaultColumnName(relation.To)); } }
protected virtual string GetColumnName(MemberInfo subject, Relation relation) { if (relation.From == relation.To) { // circular many-to-many return(subject.Name); } else { return(KeyMapper.DefaultColumnName(relation.To)); } }