IAuxiliaryDatabaseObject auxiliaryDatabaseObject |
Type Mappings
Namespace NHibernate.Cfg
IAuxiliaryDatabaseObject auxiliaryDatabaseObject |
PersistentClass persistentClass |
Collection collection |
FilterDefinition definition |
Namespace.Entity
to be referenced as Entity
or some other name in HQL.
string className |
The name of the type that is being renamed. |
string rename |
The new name to use in HQL for the type. |
string name |
|
NamedQueryDefinition query |
ResultSetMappingDefinition sqlResultSetMapping |
string name |
|
NamedSQLQueryDefinition query |
return Table |
|
string schema |
|
string name |
Type referencedClass |
|
string propertyName |
return bool |
|
object obj |
return PersistentClass |
|
Type type |
return PersistentClass |
|
string entityName |
return Collection |
|
string role |
return FilterDefinition |
|
string name |
return int |
return NamedQueryDefinition |
|
string name |
return Table |
|
string schema |
|
string name |
return Type |
return string |
return string
|
return string
|
return string
|
return bool
|
return string
|
return IDictionary
|
Auto-import is used to shorten the string used to refer to types to just their unqualified name. So if the typeMyAssembly.MyNamespace.MyClass, MyAssembly
hasauto-import="false"
then all use of it in HQL would need to be the fully qualified versionMyAssembly.MyNamespace.MyClass
. Ifauto-import="true"
, the type could be referred to in HQL as justMyClass
.
return bool
|
return INamingStrategy
|
return string
|