Table of Contents

Class RecordNotAddedException

Namespace
YndigoBlue.Velocity.Exceptions
Assembly
YndigoBlue.Velocity.dll

Thrown when a record insertion operation fails to add the expected record to the database.

[Serializable]
public class RecordNotAddedException : Exception, ISerializable
Inheritance
RecordNotAddedException
Implements

Remarks

This exception occurs when the AddRecord operation completes without errors but the record was not successfully inserted into the database. Common scenarios include database triggers preventing the insert, constraint violations that were not caught earlier, or internal database issues that silently fail the insertion without raising errors.

Constructors

RecordNotAddedException()

Initializes a new instance of the RecordNotAddedException class.

RecordNotAddedException(string)

Initializes a new instance of the RecordNotAddedException class with a specified error message.

Properties

SchemaName

Gets or sets the name of the schema containing the table.

TableName

Gets or sets the name of the table where the record was expected to be added.