Q38.webp
M

Q38.webp

Kizspy | Question: 38
(Choose 1 answer)
The following code uses ODataModelBuilder to construct an EDM. What does it do?
var builder new ODataConventionModelBuilder();
builder.EntitySet<Product>("Products");
builder.EntitySet<Category>("Categories");
return builder.GetEdmModel();
A. It creates two entity sets, Products and Categories, and infers their properties and relationships by convention from
the C# classes.
B. It defines two complex types that cannot be queried directly.
C. It creates an empty model and waits for the database to provide the schema.
D. It registers two controllers named Products and Categories.
  • Like
Reactions: namnamnam1305

Thông tin

Category
PRN232
Thêm bởi
Minh Châu1
Ngày thêm
Lượt xem
2,361
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom