Shunde.NET Framework Class Library

DBObject.ResetId Method 

Resets the Id of the object so that when saved again, a new object will be created in the database.

public void ResetId();

Remarks

This is useful for those times when you would like to clone an existing object. Simply populate it, call ResetId, and save

See Also

DBObject Class | Shunde.Framework Namespace