Class of exception raised when an attempt is made to create a new entity resource in a store with an identifier that matches that of another resource of the same type already in the store.

Namespace: BrightstarDB.EntityFramework
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public class UniqueConstraintViolationException : EntityFrameworkException
Visual Basic
Public Class UniqueConstraintViolationException
	Inherits EntityFrameworkException
Visual C++
public ref class UniqueConstraintViolationException : public EntityFrameworkException
F#
type UniqueConstraintViolationException =  
    class
        inherit EntityFrameworkException
    end

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    BrightstarDB.EntityFramework..::..EntityFrameworkException
      BrightstarDB.EntityFramework..::..UniqueConstraintViolationException

See Also