Exemple #1
0
 /// <summary>
 /// Creates a new SqlExceptionConverter with the provided mapping rules.
 /// </summary>
 public SqlExceptionConverter(SqlExceptionMapper mapping)
 {
     _mapper = mapping;
 }
Exemple #2
0
 /// <summary>
 /// Creates a new SqlExceptionConverter with default mapping rules.
 /// </summary>
 public SqlExceptionConverter() : this(SqlExceptionMapper.Default())
 {
 }