Class TableNotFoundException
- Namespace
- YndigoBlue.Velocity.Exceptions
- Assembly
- YndigoBlue.Velocity.dll
Thrown when a referenced table cannot be found in the database schema.
[Serializable]
public class TableNotFoundException : Exception, ISerializable
- Inheritance
-
TableNotFoundException
- Implements
Remarks
This exception occurs when attempting to access a table that doesn't exist in the specified schema. Common scenarios include typos in table names, attempting to query tables that haven't been created yet, referencing tables in the wrong schema, or accessing tables that were dropped from the database.
Constructors
- TableNotFoundException()
Initializes a new instance of the TableNotFoundException class.
- TableNotFoundException(string)
Initializes a new instance of the TableNotFoundException class with a specified error message.
Properties
- SchemaName
Gets or sets the name of the schema where the table was expected.
- TableName
Gets or sets the name of the table that could not be found.