0
Answer

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

waleed mahmoud

waleed mahmoud

15y
5.1k
1
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