NPersistence Reference Guide
Create a new application-managed EntityManager. This method returns a new EntityManager instance each time it is invoked. The isOpen method will return true on the returned instance.

Return Value

entity manager instance if the entity manager factory has been closed

Namespace: NPersistence
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

   
 C# 
EntityManager CreateEntityManager()

See Also