Red Gate forums :: View topic - Indexes.Relational naming suggestion
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Comparison SDK 10
SQL Comparison SDK 10 forum

Indexes.Relational naming suggestion

Search in SQL Comparison SDK 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message
clamk123



Joined: 01 Apr 2012
Posts: 28

PostPosted: Sat Apr 21, 2012 12:06 am    Post subject: Indexes.Relational naming suggestion Reply with quote

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.
Back to top
View user's profile Send private message
stanori



Joined: 23 Apr 2012
Posts: 83

PostPosted: Mon Apr 23, 2012 4:31 pm    Post subject: Reply with quote

Hi clamk123,

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

Thanks,
Steve
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group