How to select an entity by name from specific schema

I'm working with a model reverse engineered from an SQL Server database that contains a table named dbo.Status as well as a table named Sync.Status.

How can I programmatically select Sync.Status?

?DiagramManager.ActiveDiagram.Models.Item("Physical").Entities.Item("Status").Owner

returns "dbo".

Am I stuck looping thru all the tables for every lookup?  Now that I realize this is a problem I can never assume .Item("name") is ever going to return the correct object.

Parents Reply Children
No Data