Declare a "root" entity

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

Syntax

C#
ISQLQuery AddEntity(
	string alias,
	string entityName
)
Visual Basic
Function AddEntity ( _
	alias As String, _
	entityName As String _
) As ISQLQuery
Visual C++
ISQLQuery^ AddEntity(
	String^ alias, 
	String^ entityName
)

Parameters

alias
Type: System..::..String

[Missing <param name="alias"/> documentation for "M:NHibernate.ISQLQuery.AddEntity(System.String,System.String)"]

entityName
Type: System..::..String

[Missing <param name="entityName"/> documentation for "M:NHibernate.ISQLQuery.AddEntity(System.String,System.String)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.ISQLQuery.AddEntity(System.String,System.String)"]

See Also