toptensoftware/PetaPoco — Issue #91: T4 generates wrong primary key
Author: kinimatt
Created: 2011-12-06 16:33:16+00:00
State: open

It happens when clustered index is other than primary key. Clustered index column is identified as Primary key instead of actual column. DB used sql server.