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

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

Syntax

Visual Basic (Declaration)
Public Property IsGeneric As Boolean
C#
public bool IsGeneric { get; set; }
Visual C++
public:
property bool IsGeneric {
	bool get ();
	void set (bool value);
}
JavaScript
function get_isGeneric();
function set_isGeneric(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