EntitySet<TEntity> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the EntitySet<TEntity> class.
Overloads
EntitySet<TEntity>() |
Initializes a new instance of the EntitySet<TEntity> class. |
EntitySet<TEntity>(Action<TEntity>, Action<TEntity>) |
Initializes a new instance of the EntitySet<TEntity> class while supplying handlers for add and remove operations. |
EntitySet<TEntity>()
Initializes a new instance of the EntitySet<TEntity> class.
public:
EntitySet();
public EntitySet ();
Public Sub New ()
Applies to
EntitySet<TEntity>(Action<TEntity>, Action<TEntity>)
Initializes a new instance of the EntitySet<TEntity> class while supplying handlers for add and remove operations.
public:
EntitySet(Action<TEntity> ^ onAdd, Action<TEntity> ^ onRemove);
public EntitySet (Action<TEntity> onAdd, Action<TEntity> onRemove);
new System.Data.Linq.EntitySet<'Entity (requires 'Entity : null)> : Action<'Entity (requires 'Entity : null)> * Action<'Entity (requires 'Entity : null)> -> System.Data.Linq.EntitySet<'Entity (requires 'Entity : null)>
Public Sub New (onAdd As Action(Of TEntity), onRemove As Action(Of TEntity))
Parameters
- onAdd
- Action<TEntity>
Delegate for Add(TEntity).
- onRemove
- Action<TEntity>
Delegate for Remove(TEntity).
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για