solution1.Tick the primary key
1.right click on the Id of the entity in dataset schema.
2.Edit Key
3.Tick the Primary Key
DataTable - Failed to enable constraints. One or more rows
contain values violating non-null, unique, or foreign-key constraints
时间: 2025-01-14 21:48:21