EntityCommandExecutionException 类

定义

表示尝试准备或执行 CommandExecution 时失败 此异常旨在提供一个常见异常,在使用 EntityCommand 执行语句时,人们可以捕获该异常来保存 sqlException (、OracleException) 提供程序异常。

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

适用于