1

我有带属性的类,我想在 webAPI 中显示不同的属性名称。例如,在我的班级和 odata 中的 DeploymentTypeEnum 我想用名称 DeploymentType 添加它。

builder
.Entity<Product>()
.Property(c => c.DeploymentTypeEnum );
4

0 回答 0