我正在尝试保存对记录的更改,但出现错误
违反 PRIMARY KEY 约束“PK_TStoreAssignment”。无法在对象“TAAssignment”中插入重复键。该语句已终止。
这是亚音速查询
Dim current = DB.Select().From(TStoreAssignment.Schema) _
.Where("assignmentID").IsEqualTo(selectedRow.AssignmentID) _
.ExecuteSingle(Of TStoreAssignment)()
'Modify the sequence
current.ManualSequence = 999
current.Save()