【发布时间】:2016-02-15 10:45:09
【问题描述】:
如何为以下过程编写 linq 查询
create proc [dbo].[sp_remainUser]
@userid int
as
begin
select *
from userlog
where
user_id not in (select followed_id
from userfollowing
where follower_id = @userid)
and user_id not in (select follower_id
from userfollowing
where follower_id = @userid)
end
【问题讨论】:
标签: sql sql-server linq