Skip to content

Commit 4438c82

Browse files
committed
Improved SimpleDataException messages
1 parent 3fd096f commit 4438c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Simple.Data.Ado/AdoAdapterInserter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private void CheckInsertablePropertiesAreAvailable(Table table, IEnumerable<KeyV
9898

9999
if (!data.Any())
100100
{
101-
throw new SimpleDataException("No properties were found which could be mapped to the database.");
101+
throw new SimpleDataException(string.Format("No properties were found which could be mapped to table '{0}'.", table.ActualName));
102102
}
103103
}
104104

0 commit comments

Comments
 (0)