Declare a "root" entity, specifying a lock mode
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
ISQLQuery AddEntity( string alias, Type entityClass, LockMode lockMode ) |
Visual Basic |
---|
Function AddEntity ( _ alias As String, _ entityClass As Type, _ lockMode As LockMode _ ) As ISQLQuery |
Visual C++ |
---|
ISQLQuery^ AddEntity( String^ alias, Type^ entityClass, LockMode^ lockMode ) |
Parameters
- alias
- Type: System..::..String
[Missing <param name="alias"/> documentation for "M:NHibernate.ISQLQuery.AddEntity(System.String,System.Type,NHibernate.LockMode)"]
- entityClass
- Type: System..::..Type
[Missing <param name="entityClass"/> documentation for "M:NHibernate.ISQLQuery.AddEntity(System.String,System.Type,NHibernate.LockMode)"]
- lockMode
- Type: NHibernate..::..LockMode
[Missing <param name="lockMode"/> documentation for "M:NHibernate.ISQLQuery.AddEntity(System.String,System.Type,NHibernate.LockMode)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.ISQLQuery.AddEntity(System.String,System.Type,NHibernate.LockMode)"]