How can I find the primary key column/property of a DataClassInfo object? I can easily get a list of properties for a class name like so:
DataClassInfo dci = DataClassInfoProvider.GetDataClass(CustomTableName);
List<string> columns = dci.Properties;
But unsure how to find out which one of those columns is a primary key or get any attributes from any of those properties like datatype or allow nulls or default value.