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,
	Type entityClass
)
Visual Basic
Function AddEntity ( _
	alias As String, _
	entityClass As Type _
) As ISQLQuery
Visual C++
ISQLQuery^ AddEntity(
	String^ alias, 
	Type^ entityClass
)

Parameters

alias
Type: System..::..String

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

entityClass
Type: System..::..Type

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

Return Value

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

See Also