Indexes.Relational naming suggestion

Automate and integrate using the SQL comparison API

Moderators: Chris Auckland, David Atkinson, Michelle Taylor, chengvoon.tong

Indexes.Relational naming suggestion

Postby clamk123 » Sat Apr 21, 2012 12:06 am

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.
clamk123
 
Posts: 28
Joined: Sun Apr 01, 2012 5:24 am

Postby stanori » Mon Apr 23, 2012 4:31 pm

Hi clamk123,

Thank you for your suggestion. I will let our developers know of your request.

Thanks,
Steve
stanori
 
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