EntityCommandCompilationException 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示尝试准备或执行 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(String, Exception) | |
| EntityCommandCompilationException(String) |