C# 클래스 NLite.Data.Exceptions.ExceptionHelper

파일 보기 프로젝트 열기: netcasewqs/elinq

공개 메소드들

메소드 설명
Convert ( ISqlLog log, ISQLExceptionConverter converter, DbExceptionContextInfo exceptionContextInfo ) : Exception
Convert ( ISqlLog log, ISQLExceptionConverter converter, DbExceptionContextInfo exceptionContextInfo, object parameterValues, NamedParameter namedParameters ) : Exception
ExtendMessage ( string message, string sql, object entity = null, object parameterValues = null, NamedParameter parameters = null ) : string
ExtractDbException ( Exception sqlException ) : DbException
TryGetActualSqlQuery ( Exception sqle, string sql ) : string

메소드 상세

Convert() 공개 정적인 메소드

public static Convert ( ISqlLog log, ISQLExceptionConverter converter, DbExceptionContextInfo exceptionContextInfo ) : Exception
log ISqlLog
converter ISQLExceptionConverter
exceptionContextInfo DbExceptionContextInfo
리턴 System.Exception

Convert() 공개 정적인 메소드

public static Convert ( ISqlLog log, ISQLExceptionConverter converter, DbExceptionContextInfo exceptionContextInfo, object parameterValues, NamedParameter namedParameters ) : Exception
log ISqlLog
converter ISQLExceptionConverter
exceptionContextInfo DbExceptionContextInfo
parameterValues object
namedParameters NLite.Data.Common.NamedParameter
리턴 System.Exception

ExtendMessage() 공개 정적인 메소드

public static ExtendMessage ( string message, string sql, object entity = null, object parameterValues = null, NamedParameter parameters = null ) : string
message string
sql string
entity object
parameterValues object
parameters NLite.Data.Common.NamedParameter
리턴 string

ExtractDbException() 공개 정적인 메소드

public static ExtractDbException ( Exception sqlException ) : DbException
sqlException System.Exception
리턴 System.Data.Common.DbException

TryGetActualSqlQuery() 공개 정적인 메소드

public static TryGetActualSqlQuery ( Exception sqle, string sql ) : string
sqle System.Exception
sql string
리턴 string