Tuesday, May 7, 2013

How to create the equivalent of 'Stuff' SQL function in Linq

If you are going to export this to LINQ with xml exporting formation. I'm afraid we don't have such function.


But for a pure SQL to LINQ, you can:


1) Just use the converter:http://sqltolinq.com/


2) Try to convert the collection to object one by using "AsEnumerable()", and then write down your inner functions to avoid the problem that "something isn't supported in LINQ."




If you think one reply solves your problem, please mark it as An Answer , if you think someone's reply helps you, please mark it as a Proposed Answer



Help by clicking:

Click here to donate your rice to the poor

Click to Donate

Click to feed Dogs & Cats




Found any spamming-senders? Please report at: Spam Report


No comments:

Post a Comment