i'm using dapper.net , i've wrapped connection.execute delete , update statements.
public virtual void update(tentity entity) { idbconnection connection = connectionservice.connection; connection.execute(updatequery, entity, connectionservice.transaction); } when i've come use this, want know if fails or not catching exception(s) , not general exception. (if any) exceptions thrown? assume sqlexception, previous manager taught me assume nothing.
can point me in right direction find information?
dapper indeed throw sqlexception when used against sqlconnection.
the exceptions consistent vanilla ado.net code. value code of specific sql exception type.
Comments
Post a Comment