Inserts an entity to the collection at the specified index and sets it as owned by this EntityCollection.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.Data.Core (in DlhSoft.Data.Core.dll)
Syntax
| C# |
|---|
protected override void InsertItem( int index, Entity entity ) |
| Visual Basic (Declaration) |
|---|
Protected Overrides Sub InsertItem ( _ index As Integer, _ entity As Entity _ ) |
Parameters
- index
- Type: System..::.Int32
The zero-based index at which the entity should be inserted.
- entity
- Type: DlhSoft.Windows.Data..::.Entity
The entity to insert.