Order by in Linq

How do I have a order by on a UNION ?

Where do I add an orderby ?
var rsUnion = rsPunchTime.Union(rsPunchAccess);

Open in new window

u2envy1Asked:
Who is Participating?
 
MsShadowConnect With a Mentor Commented:
rsUnion = rsUnion.OrderBy(o=>o.PunchTime)
0
 
u2envy1Author Commented:
Thx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.