Monday, June 25, 2012

Using Join query in Linq in .net


var objSelfJoin = from t1 in objLinq.tblEmps
                join t2 in objLinq.tblEmps on t1.EId equals  t2.SupervisorId select new { t1.Full_Name,t1.Age,t1.Salary };

No comments:

Post a Comment

Comments

Protected by Copyscape Plagiarism Software