C# Class Azavea.Open.DAO.Exceptions.UnableToRunSqlException

This exception is thrown when we are able to connect to a DB, but we get an exception executing a SQL statement.
Inheritance: ExceptionWithConnectionInfo
Afficher le fichier Open project: azavea/net-dao

Méthodes publiques

Méthode Description
UnableToRunSqlException ( IConnectionDescriptor desc, string sql, IEnumerable sqlParams, Exception e ) : System

Unable to execute SQL.

UnableToRunSqlException ( string message, IConnectionDescriptor desc, string sql, IEnumerable sqlParams, Exception e ) : System

Unable to execute SQL.

Method Details

UnableToRunSqlException() public méthode

Unable to execute SQL.
public UnableToRunSqlException ( IConnectionDescriptor desc, string sql, IEnumerable sqlParams, Exception e ) : System
desc IConnectionDescriptor Connection descriptor we connected with.
sql string SQL statement we were trying to execute.
sqlParams IEnumerable Parameters for the sql statement (may be null).
e System.Exception Exception that was thrown by the database driver.
Résultat System

UnableToRunSqlException() public méthode

Unable to execute SQL.
public UnableToRunSqlException ( string message, IConnectionDescriptor desc, string sql, IEnumerable sqlParams, Exception e ) : System
message string Start of the message, if you don't want to use the default.
desc IConnectionDescriptor Connection descriptor we connected with.
sql string SQL statement we were trying to execute.
sqlParams IEnumerable Parameters for the sql statement (may be null).
e System.Exception Exception that was thrown by the database driver.
Résultat System