Gets or sets the length of the datatype in the database.

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

Syntax

C#
public int Length { get; set; }
Visual Basic
Public Property Length As Integer
	Get
	Set
Visual C++
public:
property int Length {
	int get ();
	void set (int value);
}

Field Value

The length of the datatype in the database.

See Also