Skip to content

Commit 4b9b994

Browse files
committed
Improved SchemaResolutionException messages
1 parent 0ab6de6 commit 4b9b994

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Simple.Data.Ado/Joiner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private static ForeignKey GetForeignKey(Table table1, Table table2)
111111

112112
if (foreignKey == null)
113113
throw new SchemaResolutionException(
114-
string.Format("Could not join '{0}' and '{1}'", table1.ActualName, table2.ActualName));
114+
string.Format("Could not join tables '{0}' and '{1}', foreign key not found.", table1.ActualName, table2.ActualName));
115115
return foreignKey;
116116
}
117117

0 commit comments

Comments
 (0)