Community discussion forum

how to get Unique columns and Primary key constraints using SqlConnection.GetSchema() ?

  • 4 months ago

    hi I have some code of ADO.net to dynamically detect the database schema, what I need is how to get Unique columns constraints and Primary key constraints using SqlConnection GetSchema() method. thanks

    Post was edited on 14/07/2009 05:15:44 Report abuse

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!