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

Syntax

Visual Basic (Declaration)
Public Function AddEntity ( _
	alias As String, _
	entityClass As Type, _
	lockMode As LockMode _
) As ISQLQuery
C#
public ISQLQuery AddEntity(
	string alias,
	Type entityClass,
	LockMode lockMode
)
Visual C++
public:
virtual ISQLQuery^ AddEntity(
	String^ alias, 
	Type^ entityClass, 
	LockMode^ lockMode
) sealed
JavaScript
function addEntity(alias, entityClass, lockMode);

Parameters

alias
Type: System..::.String
entityClass
Type: System..::.Type
lockMode
Type: NHibernate..::.LockMode

Implements

ISQLQuery..::.AddEntity(String, Type, LockMode)

See Also