Creates an item instance from the specified values collection using a dynamic mapping.

Namespace: Simol
Assembly: Simol (in Simol.dll) Version: 1.0.0.0

Syntax

C#
public static Object CreateItem(
	ItemMapping mapping,
	Type itemType,
	PropertyValues values
)
Visual Basic
Public Shared Function CreateItem ( _
	mapping As ItemMapping, _
	itemType As Type, _
	values As PropertyValues _
) As Object
Visual C++
public:
static Object^ CreateItem(
	ItemMapping^ mapping, 
	Type^ itemType, 
	PropertyValues^ values
)

Parameters

mapping
Type: Simol..::..ItemMapping
The item mapping.
itemType
Type: System..::..Type
Type of the item to return.
values
Type: Simol..::..PropertyValues
The property values.

Return Value

A new item or null if the value collection is null

Return Value

See Also