Registers the specified entity as a pending insert.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
Parameters
- entity
- Type: Mindscape.LightSpeed..::.Entity
The entity.
Examples
CopyC#
Customer customer = new Customer("S Baldrick"); unitOfWork.Add(customer); unitOfWork.SaveChanges();