LINQ

LINQ doesn’t have the equivalent of the SQL “IS NULL” operator. e.g.

SELECT * FROM dbTable where dbColumn IS NULL

In LINQ to write a query against nullable column, fashion the query as,

var results = from a in dbTable where a.dbColumn == null select a;

or

string myVar = null;
var myRows = from a in dbTable where a.dbColumn == myVar || (a.dbColumn == null && myVar == null) select a;

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Entity Framework, LINQ | Comments Off on LINQ

Virtual PC Console not displayed

Virtual PC Console not displayed
Ran into an issue where my Virtual PC Console would not display even when the program was up and running, turned out that it was an issue with the previous display position that is stored in a configuration file – %APPDATA%\Microsoft\Virtual PC\Options.xml. To fix the problem, exit the Virtual PC Console application and remove this configuration file.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Virtualization | Comments Off on Virtual PC Console not displayed

ADO.NET data services

ADO.NET data services does not support SQL Server 2008 DateTimeOffset type… Too bad.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> ADO.net, Entity Framework | Comments Off on ADO.NET data services

PDC 2008

Interesting PDC sessions by Anders Heilberg on c# 4.0.. Liked his comment – new static type called ‘dynamic’.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> c# | Comments Off on PDC 2008

BizTalk Server 2009

BizTalk Server 2006 R3 is now BizTalk Server 2009. Microsoft has made the official announcement, with a roadmap on future versions and integration with ‘OSLO’. BizTalk Server 2009 will support the Windows Server 2008 platform. CTP expected about the end of the year.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> BizTalk Server | Comments Off on BizTalk Server 2009

New SQL Server User Group!!

Local SQL Server expert Kevin Boles is close to starting a new SQL Server User Group here in Huntsville.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> SQL Server | Comments Off on New SQL Server User Group!!

Gustav

Gustav seems to be gathering steam as it heads towards the US southern coastline. Checking the National Weather Service Site for latest news…

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> AL | Comments Off on Gustav

Goosh!!!

Goosh.org – UNIX like command line interface to Google…

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Tools | Comments Off on Goosh!!!

Twitter

Twitter is a great micro-blogging tool, that is growing in popularity by leaps and bounds. At 140 character length per tweet, it forces you to be brief and to the point (which is a good thing). Have chirpr on gadgets bar.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> Social Media | Comments Off on Twitter

Code Repositories

Most people are familiar with codeplex, a popular code repository. Here are some other links to check out, github, sniplr, codeproject.

<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span> .NET | Comments Off on Code Repositories