Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DataIntegrityViolationException Class

Exception thrown when an attempt to insert or update data results in violation of an integrity constraint.

For a list of all members of this type, see DataIntegrityViolationException Members .


[Visual Basic]
<Serializable> _
Public Class DataIntegrityViolationException
    Inherits NonTransientDataAccessException
public class DataIntegrityViolationException : NonTransientDataAccessException

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Note that this is not purely a relational concept; unique primary keys are required by most database types.


Namespace: Spring.Dao

Assembly: Spring.Data (in Spring.Data.dll)

See Also

DataIntegrityViolationException Members | Spring.Dao Namespace