public override IEnumerable <MemberInfo> GetExtensionRelatedMembers(MappingTable table) { AttributeMappingTable amt = (AttributeMappingTable)table; ExtensionTableAttribute attribute = amt.Attribute as ExtensionTableAttribute; if (attribute == null) { return(new MemberInfo[0]); } return(from n in attribute.RelatedKeyColumns.Split(separators) select this.GetMemberForColumn(amt.Entity, n)); }
public override string GetTableName(MappingTable table) { AttributeMappingTable table2 = (AttributeMappingTable)table; return(this.GetTableName(table2.Entity, table2.Attribute)); }