Table of Contents

Class FromItemNotInQueryException

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

Thrown when a query references a table or alias that is not included in the FROM clause.

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

Remarks

This exception occurs when attempting to select columns from or join to a table that hasn't been added to the query's FROM clause. Common scenarios include referencing a table alias before it's defined, attempting to use columns from tables not in the query, or incorrect JOIN configurations that reference undefined table sources.

Constructors

FromItemNotInQueryException(string)

Initializes a new instance of the FromItemNotInQueryException class with the specified FROM item.

Properties

FromItem

Gets or sets the name of the table or alias that could not be found in the query.

Message

Gets a message that describes the current exception.