DataTable - Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints
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