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.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Parameters
- onAdd
- Type: System.Action<TEntity>
Delegate for Add.
- onRemove
- Type: System.Action<TEntity>
Delegate for Remove.
Show: