|
|
|
@ -67,7 +67,7 @@ namespace SharpDbTools.Model |
|
|
|
try { |
|
|
|
try { |
|
|
|
invariantName = table.Rows[0][ColumnNames.InvariantName] as string; |
|
|
|
invariantName = table.Rows[0][ColumnNames.InvariantName] as string; |
|
|
|
} |
|
|
|
} |
|
|
|
catch(ArgumentException e) { |
|
|
|
catch(ArgumentException) { |
|
|
|
// see comment below - it is correct to bury this exception
|
|
|
|
// see comment below - it is correct to bury this exception
|
|
|
|
} |
|
|
|
} |
|
|
|
return invariantName; |
|
|
|
return invariantName; |
|
|
|
@ -100,7 +100,7 @@ namespace SharpDbTools.Model |
|
|
|
try { |
|
|
|
try { |
|
|
|
connectionString = table.Rows[0][ColumnNames.ConnectionString] as string; |
|
|
|
connectionString = table.Rows[0][ColumnNames.ConnectionString] as string; |
|
|
|
} |
|
|
|
} |
|
|
|
catch(ArgumentException e) { |
|
|
|
catch(ArgumentException) { |
|
|
|
// this simply indicates that this attribute was not defined when the
|
|
|
|
// this simply indicates that this attribute was not defined when the
|
|
|
|
// DbModelInfo was saved, returning null makes sense here - so it is
|
|
|
|
// DbModelInfo was saved, returning null makes sense here - so it is
|
|
|
|
// correct to bury this exception
|
|
|
|
// correct to bury this exception
|
|
|
|
|