Page Contents
Home > @loopback/sequelize > SequelizeCrudRepository > (constructor)
SequelizeCrudRepository.(constructor)
Constructs a new instance of the SequelizeCrudRepository
class
Signature:
constructor(entityClass: typeof Entity & {
prototype: T;
}, dataSource: SequelizeDataSource);
Parameters
Parameter | Type | Description |
---|---|---|
entityClass | typeof Entity & { prototype: T; } | |
dataSource | SequelizeDataSource |