Gets or sets the name of the column in the database.

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

Syntax

C#
public string Name { get; set; }
Visual Basic
Public Property Name As String
	Get
	Set
Visual C++
public:
property String^ Name {
	String^ get ();
	void set (String^ value);
}

Field Value

The name of the column in the database. The get does not return a Quoted column name.

Remarks

If a value is passed in that is wrapped by ` then NHibernate will Quote the column whenever SQL is generated for it. How the column is quoted depends on the Dialect.

The value returned by the getter is not Quoted. To get the column name in quoted form use GetQuotedName(Dialect).

See Also