Class NoValueForNotNullColumnException
- Namespace
- YndigoBlue.Velocity.Exceptions
- Assembly
- YndigoBlue.Velocity.dll
Thrown when attempting to insert or update a record without providing a value for a NOT NULL column.
[Serializable]
public class NoValueForNotNullColumnException : Exception, ISerializable
- Inheritance
-
NoValueForNotNullColumnException
- Implements
Remarks
This exception occurs when a required column (defined with NOT NULL constraint) is missing a value during an insert or update operation. All NOT NULL columns must have either an explicit value provided, a default value defined in the schema, or be configured for auto-generation.
Constructors
- NoValueForNotNullColumnException()
Initializes a new instance of the NoValueForNotNullColumnException class.
- NoValueForNotNullColumnException(string)
Initializes a new instance of the NoValueForNotNullColumnException class with a specified error message.
Properties
- ColumnName
Gets or sets the name of the NOT NULL column that was missing a value.
- TableName
Gets or sets the name of the table containing the NOT NULL column.