Entity framework 4 在Devart实体框架中添加视图之间的关系

Entity framework 4 在Devart实体框架中添加视图之间的关系,entity-framework-4,odata,devart,Entity Framework 4,Odata,Devart,我想知道EF中视图之间的关系。我跟随这篇文章在xml文件中修改它。 我犯了一个错误 Custom tool error: Multiplicity is not valid in Role 'VIEW' in relationship 'FK_'. Because the Dependent Role refers to the key properties, the upper bound of the multiplicity of the Dependent Role must be 1

我想知道EF中视图之间的关系。我跟随这篇文章在xml文件中修改它。

我犯了一个错误

Custom tool error: Multiplicity is not valid in Role 'VIEW' in relationship 'FK_'. Because the Dependent Role refers to the key properties, the upper bound of the multiplicity of the Dependent Role must be 1.        
我不确定我是否走对了路

这样做的主要目的是通过oData使用该实体,并在视图中具有指向ID的链接。我没有直接使用表,因为表有ID,我希望将名称发送回客户机。该关系应提供子项的详细信息

如果有任何其他方法来实现这一点,请帮助

提前谢谢