src/Shared/EntityFramework/Core/EntitySqlException.cs
// <summary>
// Initializes a new instance EntityException with an ErrorContext instance and a given error message.
// </summary>
Initializes a new instance EntityException with an ErrorContext instance and a given error message.
Initializes a new instance EntityException with an ErrorContext instance and a given error message .
internal static EntitySqlException Create(ErrorContext errCtx, string errorMessage, Exception innerException)
        {
            return Create(
                errCtx.CommandText, errorMessage, errCtx.InputPosition, errCtx.ErrorContextInfo, errCtx.UseContextInfoAsResourceIdentifier,
                innerException);
        }
internal static EntitySqlException Create ( ErrorContext errCtx , string errorMessage , Exception innerException ) { return Create ( errCtx . CommandText , errorMessage , errCtx . InputPosition , errCtx . ErrorContextInfo , errCtx . UseContextInfoAsResourceIdentifier , innerException ) ; }
Initializes a new instance EntityException with an ErrorContext instance and a given error message.
Initializes a new instance EntityException with an ErrorContext instance and a given error message .
errCtx
ErrorContext
errorMessage
string
innerException
Exception