API Reference > ecSchema-Metadata > Metadata > Schema > createRelationshipClass createRelationshipClass MethodProtected Creates a RelationshipClass with the provided name in this schema. createRelationshipClass(name: string, modifier?: ECClassModifier): Promise<RelationshipClass> Parameter Type Description name string modifier ECClassModifier Returns - Promise<RelationshipClass> Defined in core/ecschema-metadata/src/Metadata/Schema.ts Line 221 Last Updated: 11 June, 2024