EntitySqlException Class
Represents an eSQL Query compilation exception; The class of exceptional conditions that may cause this exception to be raised are mainly: 1) Syntax Errors: raised during query text parsing and when a given query does not conform to eSQL formal grammar; 2) Semantic Errors: raised when semantic rules of eSQL language are not met such as metadata or schema information not accurate or not present, type validation errors, scoping rule violations, user of undefined variables, etc. For more information, see eSQL Language Spec.
Assembly: EntityFramework (in EntityFramework.dll)
System.Exception
System.SystemException
System.Data.DataException
System.Data.Entity.Core.EntityException
System.Data.Entity.Core.EntitySqlException
Name | Description | |
---|---|---|
![]() | EntitySqlException() | Initializes a new instance of EntitySqlException with the generic error message. |
![]() | EntitySqlException(String) | Initializes a new instance of EntitySqlException with the given message. |
![]() | EntitySqlException(String, Exception) | Initializes a new instance of EntitySqlException with the given message and innerException instance. |
Name | Description | |
---|---|---|
![]() | Column | Gets the approximate column number where the error occurred. |
![]() | Data | (Inherited from Exception.) |
![]() | ErrorContext | Gets the approximate context where the error occurred if available. |
![]() | ErrorDescription | Gets the error description explaining the reason why the query was not accepted or an empty String.Empty |
![]() | HelpLink | (Inherited from Exception.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | Line | Gets the approximate line number where the error occurred |
![]() | Message | (Inherited from Exception.) |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo, StreamingContext) | (Inherited from Exception.) |
![]() | GetType() | (Inherited from Exception.) |
![]() | ToString() | (Inherited from Exception.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.