NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Bootstrap class that is used to obtain an EntityManagerFactory
in .NET environments.
Namespace: NPersistenceThe Persistence class is also used to obtain a PersistenceUtil instance.
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 |
Member | Description | |
---|---|---|
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
NPersistence..::..Persistence