Hi,
In MSSQL, constraint.RefersToTable doesn't seem to work properly when you have schema names involved. I have a bunch of tables in dbo and some others in Orders. The FKs either (1) pointing to the tables in Orders (from dbo) OR (2) being of tables in Orders, don't have any value in RefersToTable.
RefersToConstraint is populated in all cases.
In MSSQL, constraint.RefersToTable doesn't seem to work properly when you have schema names involved. I have a bunch of tables in dbo and some others in Orders. The FKs either (1) pointing to the tables in Orders (from dbo) OR (2) being of tables in Orders, don't have any value in RefersToTable.
RefersToConstraint is populated in all cases.