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 .

System.Object
   Exception
      DataAccessException
         NonTransientDataAccessException
            DataIntegrityViolationException
               DuplicateKeyException

[Visual Basic]
<Serializable> _
Public Class DataIntegrityViolationException
    Inherits NonTransientDataAccessException
[C#]
[Serializable]
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.

Remarks

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

Requirements

Namespace: Spring.Dao

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

See Also

DataIntegrityViolationException Members | Spring.Dao Namespace