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

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

Syntax

Visual Basic (Declaration)
Public Property Length As Integer
C#
public int Length { get; set; }
Visual C++
public:
property int Length {
	int get ();
	void set (int value);
}
JavaScript
function get_length();
function set_length(value);

Field Value

The length of the datatype in the database.

See Also