4 instantiations of EntitySqlException
System.Data.Entity (4)
System\Data\Common\EntitySql\CqlLexer.cs (1)
1352throw new System.Data.EntitySqlException(EntitySqlException.GetGenericErrorMessage (_query, yychar));
System\Data\Common\EntityUtil.cs (2)
352return new EntitySqlException(message); 363return new EntitySqlException(message, innerException);
System\Data\EntitySqlException.cs (1)
124return new EntitySqlException(errorMessage, errorDescription, errorContext, line, column, innerException);
23 references to EntitySqlException
System.Data.Entity (23)
System\Data\Common\EntitySql\CqlLexer.cs (1)
1352throw new System.Data.EntitySqlException(EntitySqlException.GetGenericErrorMessage (_query, yychar));
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
569/// Throws <see cref="EntitySqlException"/> if conversion is not possible.
System\Data\Common\EntitySql\SemanticResolver.cs (2)
1274string currentAggregateInfo = EntitySqlException.FormatErrorContext( 1281string nestedAggregateInfo = EntitySqlException.FormatErrorContext(
System\Data\Common\EntityUtil.cs (11)
350static internal EntitySqlException EntitySqlError( string message ) 361static internal EntitySqlException EntitySqlError( string message, Exception innerException) 372static internal EntitySqlException EntitySqlError( System.Data.Common.EntitySql.ErrorContext errCtx, string message ) 374return EntitySqlException.Create(errCtx, message, null); 383static internal EntitySqlException EntitySqlError( System.Data.Common.EntitySql.ErrorContext errCtx, string message, Exception innerException ) 385return EntitySqlException.Create(errCtx, message, null); 395static internal EntitySqlException EntitySqlError( string queryText, string errorMessage, int errorPosition ) 397return EntitySqlException.Create(queryText, errorMessage, errorPosition, null, false, null); 409static internal EntitySqlException EntitySqlError( string queryText, 415return EntitySqlException.Create(queryText, 1956static private readonly Type QueryType = typeof(EntitySqlException);
System\Data\EntitySqlException.cs (7)
57/// Initializes a new instance of <see cref="EntitySqlException"/> with the generic error message. 66/// Initializes a new instance of <see cref="EntitySqlException"/> with the given message. 75/// Initializes a new instance of <see cref="EntitySqlException"/> with the given message and innerException instance. 84/// Initializes a new instance <see cref="EntitySqlException"/> with the given serializationInfo and streamingContext. 103internal static EntitySqlException Create(ErrorContext errCtx, string errorMessage, Exception innerException) 105return EntitySqlException.Create(errCtx.CommandText, errorMessage, errCtx.InputPosition, errCtx.ErrorContextInfo, errCtx.UseContextInfoAsResourceIdentifier, innerException); 111internal static EntitySqlException Create(string commandText,
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (1)
349/// <exception cref="EntitySqlException">