NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Specifies whether a transaction-scoped or extended
persistence context is to be used in PersistenceContext.
If not specified, a transaction-scoped persistence context is used.
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
public enum PersistenceContextType
Members
Member | Value | Description |
---|---|---|
TRANSACTION | 0 | Transaction-scoped persistence context/// |
EXTENDED | 1 | Extended persistence context/// |