TwitterLinkedInBlog

Sunday, January 13, 2013

LINQ to EF - Concatenation

var sampleQuery = from s in dbContext.SAMPLE
                                select new
                                {
                                     s.COLUMN_ONE,
                                     CONCAT = s.COLUMN_TWO + " " + s.COLUMN_THREE
                                };

No comments: