Table of Contents

Class InvalidColumnDataTypeException

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

Thrown when a column is defined with an invalid or unsupported data type for the target database.

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

Remarks

This exception occurs when attempting to create or modify a column with a data type that is not valid for the database system being used. Common scenarios include using database-specific types on incompatible databases, specifying invalid type combinations, or using data types that don't exist in the target database's type system.

Constructors

InvalidColumnDataTypeException()

Initializes a new instance of the InvalidColumnDataTypeException class.

InvalidColumnDataTypeException(string)

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

Properties

ColumnName

Gets or sets the name of the column with the invalid data type.

DataType

Gets or sets the invalid data type that was specified for the column.

TableName

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