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

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

Syntax

Visual Basic (Declaration)
Public Property Name As String
C#
public string Name { get; set; }
Visual C++
public:
property String^ Name {
	String^ get ();
	void set (String^ value);
}
JavaScript
function get_name();
function set_name(value);

Field Value

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

Remarks

If a value is passed in that is wrapped by ` then NHibernate will Quote the Table whenever SQL is generated for it. How the Table 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