* information about exceptions generated by the SQL Server .NET Data Provider.\r
* @return collection of SqlError objects\r
*/\r
- public OracleErrorCollection Errors {\r
+ internal OracleErrorCollection Errors {\r
get {\r
return new OracleErrorCollection(_cause, _connection);\r
}\r
}\r
\r
+ public int Code {\r
+ get { return DbErrorCode; }\r
+ }\r
+\r
/**\r
* Gets the line number within the Transact-SQL command batch or stored \r
* procedure that generated the error.\r