Describes the behavior to be used when calling UnitOfWork.Attach()

Namespace:  Mindscape.LightSpeed
Assembly:  Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public enum AttachMode
Visual Basic (Declaration)
Public Enumeration AttachMode

Members

Member nameDescription
Attach
Attaches the entity to the UnitOfWork and imports it into the IdentityMap for that UnitOfWork Entities which are associated with this object and are currently loaded will also be attached
Import
Fetches a current copy of the entity either from the IdentityMap or failing that from the database and then copies the values from the supplied entity into the loaded entity. The loaded entity is returned from the call.

See Also