Initializes a new instance of a ArrayType class for a specific role.

Namespace: NHibernate.Type
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public ArrayType(
	string role,
	string propertyRef,
	Type elementClass,
	bool isEmbeddedInXML
)
Visual Basic
Public Sub New ( _
	role As String, _
	propertyRef As String, _
	elementClass As Type, _
	isEmbeddedInXML As Boolean _
)
Visual C++
public:
ArrayType(
	String^ role, 
	String^ propertyRef, 
	Type^ elementClass, 
	bool isEmbeddedInXML
)

Parameters

role
Type: System..::..String
The role the persistent collection is in.
propertyRef
Type: System..::..String
The name of the property in the owner object containing the collection ID, or nullNothingnullptra null reference (Nothing in Visual Basic) if it is the primary key.
elementClass
Type: System..::..Type
The Type of the element contained in the array.
isEmbeddedInXML
Type: System..::..Boolean

[Missing <param name="isEmbeddedInXML"/> documentation for "M:NHibernate.Type.ArrayType.#ctor(System.String,System.String,System.Type,System.Boolean)"]

Remarks

This creates a bag that is non-generic.

See Also