A JavaScript Component Entity Framework