語言

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
屬性

適用於