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
using the given properties.
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
public static EntityManagerFactory CreateEntityManagerFactory( string persistenceUnitName, Dictionary<Object, Object> properties )
Parameters
- persistenceUnitName
- String
the name of the persistence unit
- properties
- Dictionary<(Of <(<'Object, Object>)>)>
Additional properties to use when creating the factory. The values of these properties override any values that may have been configured elsewhere.