Hi frnds....
i want to convert this query in linq..but i could not get success....So please help me out.
select * from (( select acc_id,0,Acc_name from acc_type where grp_id=7
and acc_id not in (select distinct acc_id from acc_subtype))
Union all ( SELECT acc_id,acc_sid,acc_sname FROM acc_subtype
where acc_id in (select acc_id from acc_type where grp_id=7))) as t order by acc_name
Thanks....


Ravi PatelRank #439 · 5.7K reputationPosted Dec 14, 2015, 6:49 PM EST
Abrar Ahmad AnsariRank #3,390 · 425 reputationPosted Dec 14, 2015, 8:29 PM EST