NPersistence Reference Guide
Create and return an EntityManagerFactory for the named persistence unit.

Namespace: NPersistence
Assembly: 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

Return Value

the factory that creates EntityManagers configured according to the specified persistence unit

See Also