Initializes a new instance of the EntityManager class.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.Data.Core (in DlhSoft.Data.Core.dll)
Syntax
| C# |
|---|
public EntityManager( IEnumerable items, EntityManager..::.Initialization initialization, EntityManager..::.Initialization disposingInitialization, DataManagementMode dataManagementMode ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ items As IEnumerable, _ initialization As EntityManager..::.Initialization, _ disposingInitialization As EntityManager..::.Initialization, _ dataManagementMode As DataManagementMode _ ) |
Parameters
- items
- Type: System.Collections..::.IEnumerable
Collection of entity items to be managed.
- initialization
- Type: DlhSoft.Windows.Data..::.EntityManager..::.Initialization
A method to be called when the EntityManager initializes.
- disposingInitialization
- Type: DlhSoft.Windows.Data..::.EntityManager..::.Initialization
A method to be called when the EntityManager is disposed.
- dataManagementMode
- Type: DlhSoft.Windows.Data..::.DataManagementMode
Data management mode to use.