EntityManagerAttachEntity Method Breeze.sharp
Attaches a detached entity to this EntityManager and sets its EntityState to a specified state.

Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax

public IEntity AttachEntity(
	IEntity entity,
	EntityState entityState = EntityState.Unchanged,
	MergeStrategy mergeStrategy = MergeStrategy.Disallowed
)

Parameters

entity
Type: Breeze.SharpIEntity
entityState (Optional)
Type: Breeze.SharpEntityState
Defaults to 'Unchanged'
mergeStrategy (Optional)
Type: Breeze.SharpMergeStrategy

Return Value

Type: IEntity
See Also

Reference