您好,
我正在构建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
发布评论