Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add SQL Support For C# Statements #2
Hello, thanks for your work on this!
Would it be possible to add support of executing sql queries against a collection from c#?
MyCollection.Query("SELECT x FROM x WHERE...").Take(10).Dump();
MyCollection.Query("SELECT x FROM x WHERE...").Cast<MyType>().Single(i => i.Prop == "something");
This would give us the ability to initiate queries with sql to do the heavy lifting and then narrow down the results and transition to c#/linq.
I know about the support for SQL today but I cant really use the results there in further code fiddling. :-)
Sure, thanks for the suggestion.
I would think that the method
The query itself is executed of course on the server side, and then everything else is basically Linq to Objects queries on the result.
I'm happy to report that I have made progress with this request. You can already check out the source code in the repo (and even download the driver's current version if you look really closely), but I still need some time to hammer out some details.
I suggest to check this repository, my Github account and my blog (dotnetfalcon.com) during the upcoming week as I'm planning on releasing everything then.