Table of Contents

Class BuildSqlCommandException

Namespace
NextORM.Core
Assembly
nextorm.core.dll

Thrown when the SQL text for a command cannot be generated.

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

Remarks

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

Constructors

BuildSqlCommandException()

Initializes a new instance of the BuildSqlCommandException class.

public BuildSqlCommandException()

BuildSqlCommandException(SerializationInfo, StreamingContext)

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

[Obsolete(DiagnosticId = "SYSLIB0051")]
protected BuildSqlCommandException(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.

BuildSqlCommandException(string?)

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

public BuildSqlCommandException(string? message)

Parameters

message string

The message that describes the error.

BuildSqlCommandException(string?, Exception?)

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

public BuildSqlCommandException(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.