API Reference > ecschema-Metadata > Metadata > RelationshipClass > createNavigationProperty createNavigationProperty MethodProtected createNavigationProperty(name: string, relationship: string | RelationshipClass, direction: string | StrengthDirection): Promise<NavigationProperty> Parameter Type Description name string relationship string | RelationshipClass direction string | StrengthDirection Returns - Promise<NavigationProperty> Defined in core/ecschema-metadata/src/Metadata/RelationshipClass.ts Line 61 Last Updated: 12 June, 2024