Gets or sets a Boolean indicating if this is a mapping for a generic collection.

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

Syntax

C#
public bool IsGeneric { get; set; }
Visual Basic
Public Property IsGeneric As Boolean
	Get
	Set
Visual C++
public:
property bool IsGeneric {
	bool get ();
	void set (bool value);
}

Field Value

trueTruetruetrue (True in Visual Basic) if a collection from the System.Collections.Generic namespace should be used, falseFalsefalsefalse (False in Visual Basic) if a collection from the System.Collections namespace should be used.

Remarks

This has no affect on any versions of the .net framework before .net-2.0.

See Also