NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Return the resource-level EntityTransaction object.
The EntityTransaction instance may be used serially to
begin and commit multiple transactions.
Namespace: NPersistenceAssembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
EntityTransaction GetTransaction()
Return Value
EntityTransaction instanceExceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | if invoked on a JTA entity manager |