Class InvalidCheckConstraintException
- Namespace
- YndigoBlue.Velocity.Exceptions
- Assembly
- YndigoBlue.Velocity.dll
Thrown when a check constraint definition is invalid or malformed.
[Serializable]
public class InvalidCheckConstraintException : Exception, ISerializable
- Inheritance
-
InvalidCheckConstraintException
- Implements
Remarks
This exception occurs when attempting to create or apply a check constraint that has invalid syntax, references non-existent columns, contains logical errors, or violates database-specific constraint requirements. Check constraints must be valid boolean expressions that can be evaluated against table rows.
Constructors
- InvalidCheckConstraintException()
Initializes a new instance of the InvalidCheckConstraintException class.
- InvalidCheckConstraintException(string)
Initializes a new instance of the InvalidCheckConstraintException class with a specified error message.
Properties
- Check
Gets or sets the check constraint that caused the exception.