Share via


EntityCommandCompilationException Class

Definition

Represents a failure while trying to prepare or execute a CommandCompilation This exception is intended to provide a common exception that people can catch to hold provider exceptions (SqlException, OracleException) when using the EntityCommand to execute statements.

[System.Serializable]
public sealed class EntityCommandCompilationException : System.Data.Entity.Core.EntityException
type EntityCommandCompilationException = class
    inherit EntityException
Public NotInheritable Class EntityCommandCompilationException
Inherits EntityException
Inheritance
EntityCommandCompilationException
Attributes

Constructors

EntityCommandCompilationException()

Initializes a new instance of EntityCommandCompilationException.

EntityCommandCompilationException(String)

Initializes a new instance of EntityCommandCompilationException.

EntityCommandCompilationException(String, Exception)

Initializes a new instance of EntityCommandCompilationException.

Applies to