Retrieve a entity, obtaining the specified lock mode.
Namespace: NHibernate.ImplAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public Object Get( string entityName, Object id, LockMode lockMode ) |
Visual Basic |
---|
Public Function Get ( _ entityName As String, _ id As Object, _ lockMode As LockMode _ ) As Object |
Visual C++ |
---|
public: virtual Object^ Get( String^ entityName, Object^ id, LockMode^ lockMode ) sealed |
Parameters
- entityName
- Type: System..::..String
[Missing <param name="entityName"/> documentation for "M:NHibernate.Impl.StatelessSessionImpl.Get(System.String,System.Object,NHibernate.LockMode)"]
- id
- Type: System..::..Object
[Missing <param name="id"/> documentation for "M:NHibernate.Impl.StatelessSessionImpl.Get(System.String,System.Object,NHibernate.LockMode)"]
- lockMode
- Type: NHibernate..::..LockMode
[Missing <param name="lockMode"/> documentation for "M:NHibernate.Impl.StatelessSessionImpl.Get(System.String,System.Object,NHibernate.LockMode)"]