A LINQ provider for RDF files – part 2

For the simple Rdf queries like IQueryable<string> q = from x in rdf                   from y in rdf                  where rdf.A(germany, hasAdminDiv, x)                     && rdf.A(x, isOfType, germanState)                     && rdf.A(x, hasName, y)                  select y.Val + ”   [“ + x.Val + “]”;   which we are going to support here there is a “normal…

24

A LINQ provider for RDF files

The next provider I plan to upload here allows querying an RDF file. From the provider writer’s perspective there is a fundamental difference to the previous “Web page” provider: This provider uses IQueryable instead of IEnumerable and transforms .Net expression trees to query objects that can be executed to perform the query.   “RDF” stands…

3

A LINQ provider for Web queries

To start a series of “LINQ provider” posts, today I upload a provider sample that in some sense treats the Internet as a database: For a SQL Server database, you can make tables in a database accessible to LINQ by writing classes with attributes that define how objects of these classes are retrieved from rows in tables. LINQ can…

17

Workaround: Smart Tags in C# IDE do not work correctly in LINQ preview

In the LINQ preview (CTP May 2006), the Smart Tags functionality in the C# IDE does not work correctly. In particular, I miss the “Resolve” feature that puts in the necessary “using” statements automatically. But the good news is that it is easy to get this functionality back: 1. Start up RegEdit.exe  2. Open HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\8.0\Packages\{A066E284-DCAB-11D2-B551-00C04F68D4DB}\SatelliteDLL   3. Edit the “Path”…

3

Linq CTP May 2006 is released

Read about it here: http://msdn.microsoft.com/netframework/future/   Or go directly to the download page: http://www.microsoft.com/downloads/details.aspx?familyid=1e902c21-340c-4d13-9f04-70eb5e3dceea&displaylang=en

0

Difference between SQL and .Net Framework built in functions

A common problem when using different programming languages like SQL on the server and C# or VB on the client is that certain functions are almost the same, but not completely. A good example is SQL Round vs. CLR Math.Round. For example, rounding to the next integer would round 2.1 and 2.499 to 2, 2.501…

2

DLinq Providers

The last weeks I have been working on DLinq “providers”. The idea is to connect with DLinq to other databases than SQL Server, so we may need to use other mechanisms to connect to the database, need to generate slightly different SQL etc. As a first experiment I wrote a basic Jet provider (to access Access…

1