Class SqlCompilerException
- Namespace
- LfrlAnvil.Sql.Exceptions
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents an error that occurred during preparation of an SQL expression.
public class SqlCompilerException : InvalidOperationException, ISerializable
- Inheritance
-
SqlCompilerException
- Implements
- Inherited Members
Constructors
SqlCompilerException(SqlDialect, Chain<string>)
Creates a new SqlCompilerException instance.
public SqlCompilerException(SqlDialect dialect, Chain<string> errors)
Parameters
dialect
SqlDialectSQL dialect.
errors
Chain<string>Collection of error messages.
SqlCompilerException(SqlDialect, string)
Creates a new SqlCompilerException instance.
public SqlCompilerException(SqlDialect dialect, string error)
Parameters
dialect
SqlDialectSQL dialect.
error
stringError message.
Properties
Dialect
SQL dialect.
public SqlDialect Dialect { get; }