method BaseRepository.prototype.toEntity BaseRepository.prototype.toEntity(row: Partial<Record<string, unknown>>): Entity Cast a raw row to the typed Entity. Parameters row: Partial<Record<string, unknown>> Return Type Entity