December 2007 - Posts

4
Comments

I Think I Love LINQ by stefan.sedich

I am beggining to really like to ease of using LINQ, On a project I am working on now I am storing configuration in an XML file like so: <sites> <site id="1" sitename="foo"> <domains> <domain url="www.foo.com" /> </domains>...
3
Comments

Tagging Implementation with LINQ by stefan.sedich

Hello all, I decided to implement tagging on my video library. My first solution was to use one table for the tags. Containing the videoid and tagname. When I loaded in 1,000,000 test tags this became slow to generate my tag cloud data. My new solution...
8
Comments

BLL With LINQ by stefan.sedich

Hello, I am currently working on a little project I call GeekTube, it is going to be an internal repository for videos. Implementing my BLL has never been easier. My approach has been to implement all my static helpers as part of a partial class. For...
Filed under: , , , , ,
3
Comments

Unexpected results with Compiled Queries and LINQ to SQL by stefan.sedich

SOLUTION: Ok fired up SQL profiler and see my problem, the non compiled query seems to not evaluate the query until you actualy use the object. But the Compiled version is hitting the database straight away. And as I was not using this data the non compiled...
Filed under: , , , , , , ,
4
Comments

Wierd behaviour with LINQ to SQL designer (bug????) by stefan.sedich

This is odd. Have a test table with an id and name field no primary key was set as it was a quick test hack. Pulled the table into the LINQ Designer and noticed none of the validation partial methods were there. There was no OnnameChanged. Nowhere. After...
More Posts