Inserts an entity into the managed collection.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.Data.Core (in DlhSoft.Data.Core.dll)
Syntax
| C# |
|---|
public Entity Insert( int index, SimpleEntityItem simpleEntityItem ) |
| Visual Basic (Declaration) |
|---|
Public Function Insert ( _ index As Integer, _ simpleEntityItem As SimpleEntityItem _ ) As Entity |
Parameters
- index
- Type: System..::.Int32
The zero-based index at which the entity should be inserted.
- simpleEntityItem
- Type: DlhSoft.Windows.Data..::.SimpleEntityItem
Item definition representing the entity to insert.