File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -50,16 +50,9 @@ internal static bool IsBFileColumn(OracleDataReader reader, int columnIndex)
5050 internal static bool IsBFileColumn ( OracleDataReader reader , string columnName )
5151 {
5252 const string BFILE_COLUMN = "BFILE" ;
53- try
54- {
55- int columnIndex = reader . GetOrdinal ( columnName ) ;
56- string columnType = reader . GetDataTypeName ( columnIndex ) ;
57- return columnType . Equals ( BFILE_COLUMN , StringComparison . OrdinalIgnoreCase ) ;
58- }
59- catch ( IndexOutOfRangeException )
60- {
61- return false ;
62- }
53+ int columnIndex = reader . GetOrdinal ( columnName ) ;
54+ string columnType = reader . GetDataTypeName ( columnIndex ) ;
55+ return columnType . Equals ( BFILE_COLUMN , StringComparison . OrdinalIgnoreCase ) ;
6356 }
6457
6558 /// <summary>
You can’t perform that action at this time.
0 commit comments