Also the linq-to-llblgen provider was - at least in it's first incarnation - 
not actually very good. You would constantly come up against unsupported 
operators, which again just goes to show what a significant effort writing a 
linq provider is.


(As an aside, there is also the LinqToAzure http://linq2azure.com/ API that Joe 
Albahari helped the Cash Converters team to write, but I have no idea how 
complete an implementation it is having never used it)






From: Greg Keogh
Sent: ‎Thursday‎, ‎October‎ ‎23‎, ‎2014 ‎6‎:‎26‎ ‎AM
To: ozDotNet






Just a heads-up ... I spent hours working through This Walkthrough to see what 
it necessary to create a simple LINQ provider. This very primitive example that 
wraps a web service results in about 10 non-trivial classes with about 500 
lines of statements. Most of the code is dense with generics, casts and classes 
that the average developer probably wouldn't know exist. The sample contains 
far less than I had hoped to implement even for my most modest needs. I still 
can't properly understand about 10% of the sample code.




Clearly, this area of coding is quite specialised, giving you a glimpse of how 
compilers work. Given the power of LINQ I can understand why it's so difficult 
to form and process general expressions, but sadly there are so many arcane 
classes and techniques involved that I think I will abandon my attempts to 
create a LINQ provider for now due to lack of spare time to learn something 
that is too specialised to be of use in general app development. 
Congratulations to these guys however:




Why I hate implementing Linq

Developing Linq to LLBLGen Pro (who claims to be the only known civilian who 
wrote a complete provider)




Greg K

Reply via email to