EntitySet(TEntity) Constructor (Action(TEntity), Action(TEntity))
Collapse the table of content
Expand the table of content

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

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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
)

Parameters

onAdd
Type: System.Action<TEntity>
Delegate for Add.
onRemove
Type: System.Action<TEntity>
Delegate for Remove.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft