使用存储过程中的结果集在lightswitch中填充网格 [英] Populate grid in lightswitch with resultset from stored procedure

查看:124
本文介绍了使用存储过程中的结果集在lightswitch中填充网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到了lightswitch的示例,该示例涉及如何正确地调用存储过程来进行Insert,Update和Delete而不是查询.  那里有任何示例吗?如果可能的话,我宁愿不要尝试使用WCF服务.视图只是无法处理全部 业务规则.

I have seen examples for lightswitch on how to properly call stored procedures to Insert,Update and delete but not query.  Any examples out there?  I prefer not to try to use WCF Service if possible.  Views just don't handle all the business rules.

推荐答案

 我宁愿尽量不要尝试使用WCF 

 I prefer not to try to use WCF Service if possible. 

请问为什么?

此外,您还可以在本文中看到非WCF RIA服务的示例:

Also you can see an example of a non WCF RIA Service in this article: Dashboard Reports with LightSwitch, WebAPI


这篇关于使用存储过程中的结果集在lightswitch中填充网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆