// Read entity.
EntitySchemaManager manager = UserConnection.EntitySchemaManager;
var entity = manager.FindItemByName("Account");
// Tables that reference the entity.
var entityCollection = manager.GetSchemaOppositeReferences(entity.UId, EntitySchemaColumnUsageType.General, UserConnection, false);
string result = string.Join(", ", entityCollection.Select(i => i.SchemaName));
/*
VwAccountRelationship, VwAccountDuplicate, VwRelationship, VwAccountRelationship, VwAccountModuleHistory, VwAnniversary, CompetitorProduct, AccountCommunication, Relationship, Call, VwAccountDuplicate, CTISearchResult, Contact, AccountAlternativeName, AccountEnrichedData, AccountInFolder, VwModuleHistory, AccountFile, Relationship, ContactCareer, QuickDialUserSettings, EmailFolderColumnValuesSetting, VwRelationship, Employee, AccountAnniversary, AccountInTag, AccountDuplicate, VwSspAdminUnit, AccountOrganizationChart, AccountAddress, AccountBillingInfo, VwSspAdminUnit, VwSSPSysAdminUnit, EnrchFoundAccount, EmployeeCareer, AccountDuplicate, Account, VwContactRelationship, Activity
*/
I can read the tables that reference an entity with an opposite references call on the entity.
How would I i) find out what the details (classic UI) and the list components (Freedom UI) of a section are? and, ii) know what object the grid object was referencing?