LightSwitch 2013

编程入门 行业动态 更新时间:2024-10-24 05:19:09
本文介绍了LightSwitch 2013 - WCFRIA - 零或一对一的关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好,

我正在构建Lightswitch 2013 HTML应用程序。

I'm building a Lightswitch 2013 HTML application.

在我的WCFRIA服务中,我有2个类被用作表格。我需要在它们之间添加零或一对一的关系。

Inside my WCFRIA Service, i have 2 classes that are being used as tables. I need to add a Zero Or One to One relationship between them.

我该怎么做?

谢谢。

推荐答案

虽然我不是专家,但我会将RIA类视为一个表,而不是一个表。由于没有任何物理加入,您应该考虑使用左连接到第3个组合类,这将为您提供一个新的平台表,以便在您的应用程序中使用。

While I'm not an expert, I'd look at the RIA classes as being like a table, rather than as a table. Since there is nothing physical to join, you should consider using a left join into a 3rd combined class, which will give you a new flat table to utilise in your application.

例如 msdn.microsoft/en-us/library/bb397895.aspx

e.g.msdn.microsoft/en-us/library/bb397895.aspx

更多推荐

LightSwitch 2013

本文发布于:2023-11-14 13:51:29,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1587390.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:LightSwitch

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!