运行时查询的CanExecute()方法是否有任何更改? [英] Has there been any changes to CanExecute() method of a query at run time?

查看:114
本文介绍了运行时查询的CanExecute()方法是否有任何更改?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Beta1中,如果查询没有(对于用户)的权限,则基于显示的查询的屏幕"当前用户无权执行具有突出红色边框的命名查询"。

In Beta1 when there was no permission (for the user) for a query, A screen based on the query displayed 'the current user has no permission to execute the named query' with a prominent red border.

Beta2中的相同代码 显示'无法加载数据'或者我在Beta 1中硬编码消息(现在我的计算机上删除了测试版1)我不记得了。

The same code in Beta2  displays 'Unable to load data' or perhaps I hardcoded the message in Beta 1(now that beta 1 is removed on my computer) I do not recall)

推荐答案

嗨Jayaram,

Hi Jayaram,

如果有变化,它将不会是CanExecute方法,它只是修改了一个布尔值。

If there has been a change, it won't be to the CanExecute method, which simply modifies a boolean value.

屏幕对象*对CanExecute为false的反应方式可能已经改变了。我没有在B1中使用它,所以我无法确认这是否已经改变,抱歉。

The way the screen object *reacts* to CanExecute being false may have changed though. I didn't use it in B1, so I can't confirm if that has changed, sorry.

Yann


这篇关于运行时查询的CanExecute()方法是否有任何更改?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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