This will turn the employee record into a newly saved record in the database
with its own id, in this case the id is an identity column.
Code:
Employees e = new Employees();
e.LoadByPrimaryKey(1);
e.MarkAllColumnsAsDirty(DataRowState.Added);
e.Save();
The MarkAllColumnsAsDirty method first sets the row state to DataRowState.Added
which indicates that this is a new record, then it marks all of the columns as
dirty, finally, a call to Save() creates our new record.