Composite Keys in Grid Views Add/Edit command.

Do composite keys work okay with Grid Views? I am seeing some strange behavior in "Order Line"' view where my key is OrderId + LineNumber.

When I create a new line (in grid view), the line number is getting copied from previous line causing primary key violation.
1 person has
this question