Skip to content

Commit

Permalink
Improve error message (#33851)
Browse files Browse the repository at this point in the history
  • Loading branch information
cincuranet authored May 31, 2024
1 parent b77d2f4 commit 16acc46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/EFCore.Relational/Properties/RelationalStrings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@
<value>Cannot use view '{view}' for entity type '{entityType}' since it is being used for entity type '{otherEntityType}' and there is no relationship between their primary keys.</value>
</data>
<data name="InconsistentNumberOfArguments" xml:space="preserve">
<value>'{name}' was constructed with {argumentCount} arguments, but the nullability was defined for {argumentNullabilityCount} arguments.</value>
<value>'{name}' was constructed with {argumentCount} arguments, but the nullability was defined for {argumentNullabilityCount} arguments. When in doubt use 'false' for nullability argument.</value>
</data>
<data name="IncorrectDefaultValueType" xml:space="preserve">
<value>Cannot set default value '{value}' of type '{valueType}' on property '{property}' of type '{propertyType}' in entity type '{entityType}'.</value>
Expand Down

0 comments on commit 16acc46

Please sign in to comment.