Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
EntitySet(TEntity) Constructor (Action(TEntity), Action(TEntity))

EntitySet<TEntity> Constructor (Action<TEntity>, Action<TEntity>)

Initializes a new instance of the EntitySet<TEntity> class while supplying handlers for add and remove operations.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public EntitySet(
	Action<TEntity> onAdd,
	Action<TEntity> onRemove


Type: System.Action<TEntity>

Delegate for Add.

Type: System.Action<TEntity>

Delegate for Remove.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft