关于RIA服务的一些问题
我对 Silverlight 业务应用程序中的 RIA 服务有一些疑问。
在大多数示例中,业务逻辑非常简单。通常你会 CRUD 一个实体。但是,如果有一个应该满足的工作流程呢?
假设我们有一个父实体,在插入时它应该包含一些其他实体作为子项。 我应该编写一个接受子项作为其参数的方法,还是如果客户端(SL 应用程序)将它们添加到父实体的 Items 集合中,它就可以解决问题,并且在 InsertParentEntity 方法上我可以获取它们?
在每次调用操作(如在 WCF 中)时发送对象是否有任何限制?
谢谢。
I've some questions regarding the RIA Services in a Silverlight business application.
In most samples the business logic is really simple. normally you would CRUD an entity. But what if there were a work flow that should meet?
Assume we have a parent entity which on insert it should contain some other entities as child items.
Should I write a method that accept the child items as its parameter or if the client (SL app) adds them to the Items collection of the parent entity it would do the trick and on the InsertParentEntity method I can get them?Is there any limits to sending objects on each call to an operation like in WCF?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)