Support early binding for multiple table levels #81

Closed
hisystems opened this Issue Apr 14, 2013 · 0 comments

Projects

None yet

1 participant

@hisystems
Owner

Currently, table joins are only automatically created when joining to tables for a collection's item instance class. However, if the item instance class also joins to another table then this table join should be created.

@hisystems hisystems was assigned Apr 14, 2013
@hisystems hisystems added a commit that closed this issue Apr 15, 2013
@hisystems Supports early binding for all references which also require other ta…
…ble joins. Closes #81.

Traverses "horizontally" across the class hierarchy to determine
whether a referenced item also requires another table join. For
example, an purchase order which refers to a supplier which refers to a
branch.

Refactored GetTableJoins into two functions for recursive calls when
traversing "horizontally" across the object heirarchy.

Also removed the first superfluous IDatabaseObjects argument to
GetTableJoins.
3267f6f
@hisystems hisystems closed this in 3267f6f Apr 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment