Skip to content

Commit ad71513

Browse files
Merge pull request #151 from ronaldme/master
Fix typo / use string interpolation
2 parents 23ea1ce + 84bd22b commit ad71513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EntityFramework.DynamicFilters/DynamicFilterQueryVisitorCSpace.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public override DbExpression Visit(DbPropertyExpression expression)
213213
// these relations!!) to try to map that information back to CSpace to figure out the correct properties of the FK conditions.
214214
// or...the models just need to contain the necessary "ID" properties for the FK relations so that they are available here
215215
// (in CSpace) for us to generate the necessary join conditions.
216-
throw new ApplicationException(string.Format("FK Constriant not found for association '{0}' - must directly specify foreign keys on model to be able to apply this filter", associationType.FullName));
216+
throw new ApplicationException($"FK constraint not found for association '{associationType.FullName}' - must directly specify foreign keys on model to be able to apply this filter");
217217
}
218218

219219
// Figure out if the "baseResults" are the from side or to side of the constraint so we can create the properties correctly

0 commit comments

Comments
 (0)