Automate and integrate using the SQL comparison API
Moderators: Chris Auckland, David Atkinson, Michelle Taylor, chengvoon.tong
I'm doing some primary key detection, by looking at the indexes of a table (Table.Indexes) and enumerating looking where PrimaryKey == true. There's a deprecated notation that, instead, the property is now part of the RelationalIndex class.
Searching through all the SDK information (is there one available specifically for the 10.0 SDK?), and after awhile I found it by enumerating through Indexes.Relational for each RelationalIndex.
It's different from all the other SDK enumerations I've been using. Usually its Table in Tables, Index in Indexes, etc.
Finding RelationalIndex in Indexes.Relational seemed to break this pattern.
Perhaps in the future the collection could be RelationalIndexes or something like that. It certainly was confusing when searching for it.
- Posts: 28
- Joined: Sun Apr 01, 2012 5:24 am
Thank you for your suggestion. I will let our developers know of your request.
- Posts: 84
- Joined: Mon Apr 23, 2012 1:13 pm
Return to SQL Comparison SDK 10
Who is online
Users browsing this forum: No registered users and 0 guests