Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ElizabethOkerio committed May 30, 2022
1 parent fd8bb85 commit ed1f40b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Microsoft.OData.Edm/Schema/EdmEntityType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ public void AddKeys(IEnumerable<IEdmStructuralProperty> keyProperties)
}
else
{
string message = "The structural property only be of type entity or complex";
throw new InvalidOperationException(message);
throw new InvalidOperationException(Strings.Bad_UnresolvedType(structuralProperty));
}
}

Expand Down

0 comments on commit ed1f40b

Please sign in to comment.