Initializes a new instance of the EntityManager class.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.Data.Core (in DlhSoft.Data.Core.dll)

Syntax

C#
public EntityManager(
	Entity parentEntity,
	IEnumerable items,
	EntityManager..::.Initialization initialization,
	EntityManager..::.Initialization disposingInitialization,
	DataManagementMode dataManagementMode
)
Visual Basic (Declaration)
Public Sub New ( _
	parentEntity As Entity, _
	items As IEnumerable, _
	initialization As EntityManager..::.Initialization, _
	disposingInitialization As EntityManager..::.Initialization, _
	dataManagementMode As DataManagementMode _
)

Parameters

parentEntity
Type: DlhSoft.Windows.Data..::.Entity
Parent entity that owns the EntityManager or null if the manager has no parent entity.
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.

See Also