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