public static function metadataWriterExpectingEntityOrComplexResourceType()
13
{
14
return 'Unexpected resource type found, expecting either ResourceTypeKind::ENTITY or ResourceTypeKind::COMPLEX';
15
}
16
17
/**
18
* Format a message to show error when no association set
19
* found for a navigation property.
20
*
21
* @param string $navigationPropertyName The name of the navigation property
22
* @param string $resourceTypeName The resource type on which the
23
* navigation property is defined
24
*
25
* @return string The formatted message
26
*/
27
public static function metadataWriterNoResourceAssociationSetForNavigationProperty($navigationPropertyName, $resourceTypeName)
28
{
29
return "No visible ResourceAssociationSet found for navigation property '$navigationPropertyName' on type '$resourceTypeName'. There must be at least one ResourceAssociationSet for each navigation property.";