API Reference > ecschema-Metadata > Metadata > Mixin > 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/Mixin.ts Line 45 Last Updated: 12 June, 2024