Skip to content

DmTranslationException ​

Namespace: MJCZone.DapperMatic.Dml

Assembly: MJCZone.DapperMatic

Summary ​

An expression the DML methods cannot write as SQL. Nothing is evaluated in memory instead: the query is refused before anything is sent.

Inheritance ​

Base Class: NotSupportedException

sealed public

Contents ​

Constructors (1) | Methods (7) | Properties (9)

Constructors ​

DmTranslationException ​

Initializes a new instance of the DmTranslationException class.

csharp
DmTranslationException(Expression expression, string reason)

Parameters ​

  • expression (Expression) - The part of the expression that cannot be translated.
  • reason (string) - Why, and what to write instead.

Methods ​

MethodSummary
GetBaseException
GetObjectData
ToString
GetType
GetType
Equals
GetHashCode

GetBaseException ​

csharp
GetBaseException()

GetObjectData ​

csharp
GetObjectData()

ToString ​

csharp
ToString()

GetType ​

csharp
GetType()

GetType ​

csharp
GetType()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Expression ​

Gets the part of the expression that cannot be translated.

Type: string

TargetSite ​

Type: object

Message ​

Type: object

Data ​

Type: object

InnerException ​

Type: object

Type: object

Source ​

Type: object

HResult ​

Type: object

StackTrace ​

Type: object