ODataConventionModelBuilder.GetEdmModel()返回什么?

时间:2016-02-10 13:05:30

标签: odata

ODataConventionModelBuilder builder = new ODataConventionModelBuilder();
builder.EntitySet<Product>("Products");
return builder.GetEdmModel();

在上面的代码中,GetEdmModel()将返回什么方法?

1 个答案:

答案 0 :(得分:1)

ODataConventionModelBuilder.GetEdmModel返回一个实现IEdmModel的对象。有关详细信息,请参阅MSDN