Return the persistent instance of the given named entity with the given identifier,
or null if there is no such persistent instance. (If the instance, or a proxy for the
instance, is already associated with the session, return that instance or proxy.)
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
Object Get( string entityName, Object id ) |
Visual Basic |
---|
Function Get ( _ entityName As String, _ id As Object _ ) As Object |
Visual C++ |
---|
Object^ Get( String^ entityName, Object^ id ) |