Initializes a new instance of the EntityManager class using simple data management mode.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.Data.Core (in DlhSoft.Data.Core.dll)
Syntax
| C# |
|---|
public EntityManager( Entity parentEntity, IEnumerable<SimpleEntityItem> simpleEntityItems ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ parentEntity As Entity, _ simpleEntityItems As IEnumerable(Of SimpleEntityItem) _ ) |
Parameters
- parentEntity
- Type: DlhSoft.Windows.Data..::.Entity
Parent entity that owns the EntityManager or null if the manager has no parent entity.
- simpleEntityItems
- Type: System.Collections.Generic..::.IEnumerable<(Of <(SimpleEntityItem>)>)
Item definitions representing entities to be initially added to the collection.