Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Edited Issue: Bound actions/functions should not be added as ActionImport/FunctionImport. [1612]

$
0
0
Now all the actions/functions are added as ActionImport/FunctionImport, even for bound action/function.

For example:

var actionConfiguration = employee.Action("AddSkill");
actionConfiguration.Parameter<Skill>("skill");
actionConfiguration.ReturnsCollection<Skill>();

the output is :
<Action Name="AddSkill" IsBound="true" ReturnType="Collection(WebStack.QA.Test.OData.Enums.Skill)" Nullable="false" m:IsAlwaysBindable="true">
<Parameter Name="bindingParameter" Type="WebStack.QA.Test.OData.Enums.Employee" />
<Parameter Name="skill" Type="WebStack.QA.Test.OData.Enums.Skill" Nullable="false" />
</Action>
<EntityContainer Name="Container" m:IsDefaultEntityContainer="true">
<EntitySet Name="Employees" EntityType="WebStack.QA.Test.OData.Enums.Employee" />
<ActionImport Name="AddSkill" Action="WebStack.QA.Test.OData.Enums.AddSkill" />
</EntityContainer>


Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>