Skip to content

BPA Rules: Hide foreign keys update  #234

Description

@morelgeorge

Current definition of rule Hide Foreign Key is:
UsedInRelationships.Any(FromColumn.Name == current.Name and FromCardinality == "Many") and IsHidden == false

In my opinion, this definition is not correct because it also matches a primary keys of related tables. I believe the definition should be following:

UsedInRelationships.Any(FromTable.Name == current.Table.Name and fromColumn.Name == current.Name and FromCardinality == "Many") and IsHidden == false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions