API Reference > imodeljs-backend > Relationships > ElementGroupsMembers > create create MethodStatic Create an instance of the Relationship. create<T extends ElementRefersToElements<T>>(iModel: IModelDb, sourceId: string, targetId: string, memberPriority: number = 0): T Parameter Type Description iModel IModelDb sourceId string targetId string memberPriority number Returns - T an instance of the specified class. Defined in core/backend/src/Relationship.ts Line 162 Last Updated: 12 June, 2024