Skip to content

Database.Object() error when using table joins. #87

@hisystems

Description

@hisystems

When Database.Object() is called and the table joins are explicitly or implicitly created (via ObjectReferenceEarlyBinding) then an Ambiguous column name error occurs. For example:

SELECT * FROM ([ReferencingTable] INNER JOIN [PrimaryTable] ON [ReferencingTable].[ItemID] = [PrimaryTable].[ItemID]) WHERE [ItemID] = 11 AND ([SubSetID] = 7) ---> System.Data.OleDb.OleDbException: Ambiguous column name 'ItemID'.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions