NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Create and return an EntityManagerFactory for the named
persistence unit.
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
public static EntityManagerFactory CreateEntityManagerFactory( string persistenceUnitName )
Parameters
- persistenceUnitName
- String
the name of the persistence unit