Initializes a new instance of the Entity class and sets it as owned by a specified parent entity.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.Data.Core (in DlhSoft.Data.Core.dll)
Syntax
| C# |
|---|
protected internal Entity( Entity parentEntity, Object item ) |
| Visual Basic (Declaration) |
|---|
Protected Friend Sub New ( _ parentEntity As Entity, _ item As Object _ ) |
Parameters
- parentEntity
- Type: DlhSoft.Windows.Data..::.Entity
The parent Entity that owns this Entity.
- item
- Type: System..::.Object
Entity item to be wrapped by the Entity.