Monday 7 May 2012

Union in Linq


         
           using (LinqEF.TestDBAjayEntities Test = new LinqEF.TestDBAjayEntities())
            {
               
                var Union = (from Detail in Test.Detailmasters
                                  select Detail)

                                 .Union

                                (from Detail in Test.Detailmasters
                                 select Detail);

            };

No comments:

Post a Comment