Gets or sets the name of the column in the database.
Namespace:
NHibernate.MappingAssembly: 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 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).