4 instantiations of EntitySqlException
System.Data.Entity (4)
System\Data\Common\EntitySql\CqlLexer.cs (1)
1352
throw new System.Data.
EntitySqlException
(EntitySqlException.GetGenericErrorMessage (_query, yychar));
System\Data\Common\EntityUtil.cs (2)
352
return new
EntitySqlException
(message);
363
return new
EntitySqlException
(message, innerException);
System\Data\EntitySqlException.cs (1)
124
return new
EntitySqlException
(errorMessage, errorDescription, errorContext, line, column, innerException);
23 references to EntitySqlException
System.Data.Entity (23)
System\Data\Common\EntitySql\CqlLexer.cs (1)
1352
throw 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)
1274
string currentAggregateInfo =
EntitySqlException
.FormatErrorContext(
1281
string nestedAggregateInfo =
EntitySqlException
.FormatErrorContext(
System\Data\Common\EntityUtil.cs (11)
350
static internal
EntitySqlException
EntitySqlError( string message )
361
static internal
EntitySqlException
EntitySqlError( string message, Exception innerException)
372
static internal
EntitySqlException
EntitySqlError( System.Data.Common.EntitySql.ErrorContext errCtx, string message )
374
return
EntitySqlException
.Create(errCtx, message, null);
383
static internal
EntitySqlException
EntitySqlError( System.Data.Common.EntitySql.ErrorContext errCtx, string message, Exception innerException )
385
return
EntitySqlException
.Create(errCtx, message, null);
395
static internal
EntitySqlException
EntitySqlError( string queryText, string errorMessage, int errorPosition )
397
return
EntitySqlException
.Create(queryText, errorMessage, errorPosition, null, false, null);
409
static internal
EntitySqlException
EntitySqlError( string queryText,
415
return
EntitySqlException
.Create(queryText,
1956
static 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.
103
internal static
EntitySqlException
Create(ErrorContext errCtx, string errorMessage, Exception innerException)
105
return
EntitySqlException
.Create(errCtx.CommandText, errorMessage, errCtx.InputPosition, errCtx.ErrorContextInfo, errCtx.UseContextInfoAsResourceIdentifier, innerException);
111
internal static
EntitySqlException
Create(string commandText,
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (1)
349
/// <exception cref="
EntitySqlException
">