无法在 VS 2015 中创建服务引用

Unable to create Service Reference in VS 2015

我创建了 Asp.Net Web API 2 OData 3 数据源。请求 http://localhost:3000/odata/$metadata 产生 EDMX 方案:

<edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" Version="1.0">
<edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:DataServiceVersion="3.0" m:MaxDataServiceVersion="3.0">
<Schema xmlns="http://schemas.microsoft.com/ado/2009/11/edm" Namespace="mPOS.API.Controllers">
<EntityType Name="Book">
<Key>
<PropertyRef Name="Id"/>
</Key>
<Property Name="Id" Type="Edm.String" Nullable="false"/>
<Property Name="Title" Type="Edm.String"/>
<Property Name="Count" Type="Edm.Int32"/>
<Property Name="Price" Type="System.Nullable_1OfMoney"/>
</EntityType>
</Schema>
<Schema xmlns="http://schemas.microsoft.com/ado/2009/11/edm" Namespace="System">
<ComplexType Name="Nullable_1OfMoney"/>
</Schema>
<Schema xmlns="http://schemas.microsoft.com/ado/2009/11/edm" Namespace="Default">
<EntityContainer Name="Container" m:IsDefaultEntityContainer="true">
<EntitySet Name="Books" EntityType="mPOS.API.Controllers.Book"/>
</EntityContainer>
</Schema>
</edmx:DataServices>
</edmx:Edmx>

当我尝试在客户端项目中创建服务引用时,出现错误:

0141: 命名空间'System' 是一个系统命名空间,不能被其他模式使用。选择另一个命名空间名称

所以产生的 EDMX 方案中有问题的部分是 属性 Price 那就是类型 System.Nullable_1OfMoney 是在 System 命名空间中定义的架构中指定为 复杂类型

如何创建此服务参考?我正在使用 VS 2015 社区版。

谢谢!

我发现只能为版本 3 及以下的 OData 服务创建服务引用。