Search Results for

    Show / Hide Table of Contents

    Class LinqException

    Defines the base class for the namespace exceptions.

    Inheritance
    System.Object
    LinqException
    Namespace: LinqToDB.Linq
    Assembly: linq2db.dll
    Syntax
    public class LinqException : Exception
    Remarks

    This class is the base class for exceptions that may occur during execution of the namespace members.

    Constructors

    | Improve this Doc View Source

    LinqException()

    Initializes a new instance of the LinqException class.

    Declaration
    public LinqException()
    Remarks

    This constructor initializes the property of the new instance to a system-supplied message that describes the error, such as "LinqToDB Linq error has occurred."

    | Improve this Doc View Source

    LinqException(Exception)

    Initializes a new instance of the LinqException class with the InnerException property.

    Declaration
    public LinqException(Exception innerException)
    Parameters
    Type Name Description
    Exception innerException

    The InnerException, if any, that threw the current exception.

    | Improve this Doc View Source

    LinqException(SerializationInfo, StreamingContext)

    Initializes a new instance of the LinqException class with serialized data.

    Declaration
    protected LinqException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    The object that holds the serialized object data.

    StreamingContext context

    The contextual information about the source or destination.

    Remarks

    This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

    | Improve this Doc View Source

    LinqException(String, Exception)

    Initializes a new instance of the LinqException class with the specified error message and InnerException property.

    Declaration
    public LinqException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message

    The message to display to the client when the exception is thrown.

    Exception innerException

    The InnerException, if any, that threw the current exception.

    | Improve this Doc View Source

    LinqException(String, Nullable<Object>[])

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

    Declaration
    public LinqException(string message, params object? [] args)
    Parameters
    Type Name Description
    System.String message

    The message to display to the client when the exception is thrown.

    System.Nullable<System.Object>[] args

    An array containing zero or more objects to format.

    Extension Methods

    Map.DeepCopy<T>(T)
    Sql.IsDistinctFrom<T>(T, T)
    Sql.IsNotDistinctFrom<T>(T, T)
    SqlExtensions.In<T>(T, IEnumerable<T>)
    SqlExtensions.In<T>(T, IQueryable<T>)
    SqlExtensions.In<T>(T, T[])
    SqlExtensions.In<T>(T, T, T)
    SqlExtensions.In<T>(T, T, T, T)
    SqlExtensions.NotIn<T>(T, IEnumerable<T>)
    SqlExtensions.NotIn<T>(T, IQueryable<T>)
    SqlExtensions.NotIn<T>(T, T[])
    SqlExtensions.NotIn<T>(T, T, T)
    SqlExtensions.NotIn<T>(T, T, T, T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2011-2022 linq2db.com

    Generated by DocFX