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, string entityName, LockMode lockMode ) |
Visual Basic |
---|
Function AddEntity ( _ alias As String, _ entityName As String, _ lockMode As LockMode _ ) As ISQLQuery |
Visual C++ |
---|
ISQLQuery^ AddEntity( String^ alias, String^ entityName, LockMode^ lockMode ) |
Parameters
- alias
- Type: System..::..String
[Missing <param name="alias"/> documentation for "M:NHibernate.ISQLQuery.AddEntity(System.String,System.String,NHibernate.LockMode)"]
- entityName
- Type: System..::..String
[Missing <param name="entityName"/> documentation for "M:NHibernate.ISQLQuery.AddEntity(System.String,System.String,NHibernate.LockMode)"]
- lockMode
- Type: NHibernate..::..LockMode
[Missing <param name="lockMode"/> documentation for "M:NHibernate.ISQLQuery.AddEntity(System.String,System.String,NHibernate.LockMode)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.ISQLQuery.AddEntity(System.String,System.String,NHibernate.LockMode)"]