I'm not quite sure which side of the provider this question addresses. If you are asking whether a LINQ Provider can be implemented in something other than C#, then the answer is yes it can. If you are asking whether LINQ providers limit what clients can use their interfaces, then I'd say that any CLR language can work with any LINQ provider.

In the context of F#, F# can both be a language that uses LINQ and also a language that implements a LINQ provider.

<!----><!---->

By on 10/30/2009 9:37 AM ()

Linq-to-SQL and DbLinq libraries are language-agnostic.
You can use them from C#, VB.Net, and F#.

I haven't tried F# with DbLinq myself, but the syntax for working with any DbLinq-supported database (e.g. Oracle, MySql) should look similar to Don Syme's examples:

let q = db.Customers
|> where <@ fun c -> c.City = "London" @>
|> select <@
fun c -> c.ContactName @>

Cheers, Jiri

By on 12/11/2009 2:10 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper