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