If a function is overloaded such as:
<Function Name="GetAllConventionCustomers" IsComposable="true">
<ReturnType Type="Collection(WebStack.QA.Test.OData.UnboundOperation.ConventionCustomer)" />
</Function>
<Function Name="GetAllConventionCustomers" IsComposable="true">
<Parameter Name="CustomerName" Type="Edm.String" FixedLength="false" Unicode="false" />
<ReturnType Type="Collection(WebStack.QA.Test.OData.UnboundOperation.ConventionCustomer)" />
</Function>
and exposed as FunctionImport:
<FunctionImport Name="GetAllConventionCustomers" Function="WebStack.QA.Test.OData.UnboundOperation.GetAllConventionCustomers" EntitySet="ConventionCustomers" IncludeInServiceDocument="true" />
If ~/ is requested then 2 function-imports are returned:
<m:function-import href="GetAllConventionCustomers">
<atom:title type="text">GetAllConventionCustomers</atom:title>
</m:function-import>
<m:function-import href="GetAllConventionCustomers">
<atom:title type="text">GetAllConventionCustomers</atom:title>
</m:function-import>
Comments: Verified and test case is updated.
<Function Name="GetAllConventionCustomers" IsComposable="true">
<ReturnType Type="Collection(WebStack.QA.Test.OData.UnboundOperation.ConventionCustomer)" />
</Function>
<Function Name="GetAllConventionCustomers" IsComposable="true">
<Parameter Name="CustomerName" Type="Edm.String" FixedLength="false" Unicode="false" />
<ReturnType Type="Collection(WebStack.QA.Test.OData.UnboundOperation.ConventionCustomer)" />
</Function>
and exposed as FunctionImport:
<FunctionImport Name="GetAllConventionCustomers" Function="WebStack.QA.Test.OData.UnboundOperation.GetAllConventionCustomers" EntitySet="ConventionCustomers" IncludeInServiceDocument="true" />
If ~/ is requested then 2 function-imports are returned:
<m:function-import href="GetAllConventionCustomers">
<atom:title type="text">GetAllConventionCustomers</atom:title>
</m:function-import>
<m:function-import href="GetAllConventionCustomers">
<atom:title type="text">GetAllConventionCustomers</atom:title>
</m:function-import>
Comments: Verified and test case is updated.