NPersistence Reference Guide
Bootstrap class that is used to obtain an EntityManagerFactory in .NET environments.

The Persistence class is also used to obtain a PersistenceUtil instance.

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

Syntax

   
 C# 
public class Persistence

Members

            
 All Members  Constructors   Fields   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Persistence()()()()
Initializes a new instance of the Persistence class
CreateEntityManagerFactory(String)
Create and return an EntityManagerFactory for the named persistence unit.
CreateEntityManagerFactory(String, Dictionary<(Of <<'(Object, Object>)>>))
Create and return an EntityManagerFactory for the named persistence unit using the given properties.
GetPersistenceUtil()()()()
Return the PersistenceUtil instance
PERSISTENCE_PROVIDER
This final String is deprecated and should be removed and is only here for TCK backward compatibility @deprecated

Inheritance Hierarchy

System..::..Object
  NPersistence..::..Persistence

See Also