EntityCommandCompilationException 类

定义

表示尝试准备或执行 CommandCompilation 时发生的失败 此异常旨在提供一个常见的异常,当使用 EntityCommand 执行语句时,用户可以捕获该异常,以保留 sqlException、OracleException) 提供程序 (异常。

[System.Serializable]
public sealed class EntityCommandCompilationException : System.Data.Entity.Core.EntityException
type EntityCommandCompilationException = class
    inherit EntityException
Public NotInheritable Class EntityCommandCompilationException
Inherits EntityException
继承
EntityCommandCompilationException
属性

构造函数

EntityCommandCompilationException()

初始化 EntityCommandCompilationException 的新实例。

EntityCommandCompilationException(String, Exception)

初始化 EntityCommandCompilationException 的新实例。

EntityCommandCompilationException(String)

初始化 EntityCommandCompilationException 的新实例。

适用于