Cleanup SQLSelectTable.GetPrefix #17

Closed
hisystems opened this Issue Mar 4, 2012 · 0 comments

Projects

None yet

1 participant

@hisystems
Owner

Currently, the GetPrefix() function is used to return the Alias property - and sometimes overridden to return something else. Rather than have a separate function the Alias property should instead be overridden in those circumstances where it is required. This will also improve code readability.

Issue was noticed while working on Improve creating multiple table joins

@hisystems hisystems was assigned Mar 4, 2012
@hisystems hisystems added a commit that closed this issue Mar 23, 2012
@hisystems Refactored code regarding SQLSelectTableBase.GetPrefix. Closes #17.
Removed SQLSelectTableBase.GetPrefix() mustoverride function as there is no real association with a table. Basically an SQLSelectTableBase has an alias and a source (table / SELECT statement). The Alias is no longer overridden.
ea65967
@hisystems hisystems closed this in ea65967 Mar 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment