コード例 #1
0
ファイル: SqlDriver.cs プロジェクト: lanicon/dataobjects-net
 /// <summary>
 /// Gets information about exception.
 /// </summary>
 /// <param name="exception">The exception.</param>
 /// <returns>Information about exception.</returns>
 public virtual SqlExceptionInfo GetExceptionInfo(Exception exception) =>
 SqlExceptionInfo.Create(GetExceptionType(exception));
コード例 #2
0
 /// <summary>
 /// Gets information about exception.
 /// </summary>
 /// <param name="exception">The exception.</param>
 /// <returns>Information about exception.</returns>
 public virtual SqlExceptionInfo GetExceptionInfo(Exception exception)
 {
     return(SqlExceptionInfo.Create(GetExceptionType(exception)));
 }