NPersistence Reference Guide
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Thrown by the persistence provider when Persist(Object) is called
and the entity already exists. The
current transaction, if one is active, will be marked for rollback.
Namespace: NPersistenceIf the entity already exists, the EntityExistsException may be thrown when the persist operation is invoked, or the EntityExistsException or another PersistenceException may be thrown at flush or commit time. The current transaction, if one is active, will be marked for rollback.
Assembly: NPersistence (in NPersistence.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
public class EntityExistsException : PersistenceException
Members
All Members | Constructors |
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
EntityExistsException()()()() | Constructs a new EntityExistsException exception with
null as its detail message.
| |
EntityExistsException(Exception) | Constructs a new EntityExistsException exception with the
specified cause.
the cause. | |
EntityExistsException(String) | Constructs a new EntityExistsException exception with the
specified detail message.
| |
EntityExistsException(String, Exception) | Constructs a new EntityExistsException exception with the
specified detail message and cause.
|
Inheritance Hierarchy
System..::..Object
System..::..Exception
NPersistence..::..PersistenceException
NPersistence..::..EntityExistsException
System..::..Exception
NPersistence..::..PersistenceException
NPersistence..::..EntityExistsException
See Also
EntityManagerPersist(Object)