I need to be able to determine from the DataTable returned by DbConnection.GetSchema() whether a particular column in a SQL Server table is identity/auto-increment or not.
DataTable has Columns property and DataColumn has a property indicating auto-increment:
DataTable
Columns
DataColumn
bool isAutoIncrement = dataTable.Columns[iCol].AutoIncrement