Table of Contents

Class QueryPreparationException

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Thrown when a query cannot be prepared (compiled) for execution.

[Serializable]
public class QueryPreparationException : DataContextException, ISerializable
Inheritance
QueryPreparationException
Implements
Inherited Members
Extension Methods

Remarks

Derives from DataContextException so callers can catch a single library-wide base.

Constructors

QueryPreparationException()

Initializes a new instance of the QueryPreparationException class.

public QueryPreparationException()

QueryPreparationException(SerializationInfo, StreamingContext)

Initializes a new instance of the QueryPreparationException class from serialized data.

[Obsolete(DiagnosticId = "SYSLIB0051")]
protected QueryPreparationException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The object that holds the serialized object data.

context StreamingContext

Contextual information about the source or destination of the serialization.

QueryPreparationException(string?)

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

public QueryPreparationException(string? message)

Parameters

message string

The message that describes the error.

QueryPreparationException(string?, Exception?)

Initializes a new instance of the QueryPreparationException class with a specified error message and a reference to the inner exception that caused it.

public QueryPreparationException(string? message, Exception? innerException)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that is the cause of the current exception, or null if none.