This will partially resolve the cross database schema gathering issues.
Still need to figure out how to identify the IDENTITY column.
Added database qualification to COL_LENGTH & OBJECTID methods to supp…
…ort cross database model relationships.
Does that mean there are failing tests? FYI, your git hook is enforcing new line stuff and making noise.
I didn't add any new tests to this since I'm not sure how to setup a test to do this yet.
I'm still trying to see if there's an alternative to COLUMNPROPERTY since it doesn't support cross database requests.
I had 1 error in the tests before I made this change. (I'm not sure if it was a connection thing since I'm working over a horrible VPN)
I'm re-running the existing tests now.. it just takes while over this VPN connection.
Added ability to get IDENTITY column through a shared connection on c…
…ross database query.
I've updated to get the IDENTITY value now. I'm not sure what the newline stuff is.. as I have not setup any git hooks. It's probably RubyMine.
Last commit was partial. this completes it.
Still one more thing to resolve then I'll be ready. Sorry I should have just finished it before creating the pull request. :)
Lots of failing tests after the latest change. Waiting for them to finish so I can see what the failures are.
FYI, we have a check for ENV['TEST_FILES'] so that you can focus on one file. So
$ bundle exec rake test TEST_FILES="test/cases/adapter_test_sqlserver.rb"