会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
Go!Go!
In looking for people to hire, you look for three qualities: integrity, intelligence, and energy. And if they don't have the first, the other two will kill you!
function
2009-06-15 00:57
蜡笔小旧
阅读(
198
) 评论(
0
)
编辑
收藏
举报
Code
var ds
=
//
from auth in context.FunctionAuth
//
from func in context.Function
//
where auth.RoleName == roleName && (Guid)func.WorkflowActionTypeId == actionTypeId
//
select func.FunctionId;
(from auth
in
context.FunctionAuth
where
auth.RoleName
==
roleName
&&
auth.Allow
==
true
select auth.FunctionId).Intersect(
from func
in
context.Function
where
func.WorkflowActionTypeId
==
actionTypeId
select func.FunctionId);
刷新页面
返回顶部
About