SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Server From .Net: Reading SQL Server Metadata in ADO.Net


SQL Server From .Net: Reading SQL Server Metadata in ADO.Net

Author
Message
timwell
timwell
Hall of Fame
Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)

Group: General Forum Members
Points: 3640 Visits: 3777
Comments posted to this topic are about the item SQL Server From .Net: Reading SQL Server Metadata in ADO.Net
timwell
timwell
Hall of Fame
Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)

Group: General Forum Members
Points: 3640 Visits: 3777
There is a problem with formatting. After my question about tables (which should have been removed) everything is in the red comment text.
fregatepallada
fregatepallada
SSC Veteran
SSC Veteran (270 reputation)SSC Veteran (270 reputation)SSC Veteran (270 reputation)SSC Veteran (270 reputation)SSC Veteran (270 reputation)SSC Veteran (270 reputation)SSC Veteran (270 reputation)SSC Veteran (270 reputation)

Group: General Forum Members
Points: 270 Visits: 79
Why ADO.NET on client side - SQL Server has OOB rich metadata functionality in information views
timwell
timwell
Hall of Fame
Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)

Group: General Forum Members
Points: 3640 Visits: 3777
fregatepallada - Sunday, June 17, 2018 10:41 PM
Why ADO.NET on client side - SQL Server has OOB rich metadata functionality in information views

Good question actually. I guess it's mainly to give people another option. This was inspired by my research into the SqlConnection object.
However, when trying to reproduce SQL Server relations in a dataset (for the next article in the series) I found that the "ForeignKeys" collection did not even include the columns involved.
BTW, there is a great stairway series on SSC by Phil Factor about the metadata.

fregatepallada
fregatepallada
SSC Veteran
SSC Veteran (270 reputation)SSC Veteran (270 reputation)SSC Veteran (270 reputation)SSC Veteran (270 reputation)SSC Veteran (270 reputation)SSC Veteran (270 reputation)SSC Veteran (270 reputation)SSC Veteran (270 reputation)

Group: General Forum Members
Points: 270 Visits: 79
timwell - Monday, June 18, 2018 7:34 AM
fregatepallada - Sunday, June 17, 2018 10:41 PM
Why ADO.NET on client side - SQL Server has OOB rich metadata functionality in information views

Good question actually. I guess it's mainly to give people another option. This was inspired by my research into the SqlConnection object.
However, when trying to reproduce SQL Server relations in a dataset (for the next article in the series) I found that the "ForeignKeys" collection did not even include the columns involved.
BTW, there is a great stairway series on SSC by Phil Factor about the metadata.

Typical incomplete solution - there is a PARADE of technologies but neither of them have a COMPLETE set of CAPABILITIES

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search