Joel Varty
A software architect's thoughts from
Edentity Web Systems
in Toronto, Canada.
Sign in
|
Join
Home
Contact
RSS
Atom
Comments RSS
Search
Tags
.Net 4.0
Agility
AJAX
Amazon
ASP.NET
Azure
C#
Cloud
CSS
Flash
IIS
IIS 7
Javascript
jQuery
JSON
LINQ
LINQ-SQL
Live Writer
Mobile
MVC
Output Cache
Safari
Silverlight
SQL Server
SQL Server 2005
TFS
Threading
Trace
TSQL
Video Games
Visual Studio
VS 2010
WCF
Windows 7
WPF
Sponsors
advertise here
Navigation
Home
Blogs
Archives
November 2009 (2)
October 2009 (3)
September 2009 (5)
August 2009 (2)
July 2009 (1)
June 2009 (3)
May 2009 (5)
April 2009 (4)
March 2009 (4)
February 2009 (5)
January 2009 (6)
December 2008 (1)
November 2008 (6)
October 2008 (3)
September 2008 (4)
July 2008 (3)
June 2008 (1)
March 2008 (2)
February 2008 (2)
January 2008 (2)
Browse by Tags
All Tags
»
LINQ
(
RSS
)
ASP.NET
LINQ-SQL
LINQ-SQL: Why I Love it and why I hate it
by
joelvarty
Love it: Generate a class structure based on database tables. Makes coding transactions really easy and seamless. Makes working with store procedures more like methods. Makes it easier to validate database field names at compile-time. Hate it:...
Filed under:
ASP.NET
,
LINQ
,
LINQ-SQL
LINQ-SQL – Incorrect results from Count() from Lambda expressions
by
joelvarty
Check out the following C# code: using (MyDataContext db = new MyDataContext()) { int count1 = db.MyTable.Count(t=> t.IsActive == true ); int count2 = db.MyTable.Select(t => t.IsActive == true ).Count(); } Judging by you what you see...
Filed under:
ASP.NET
,
LINQ
More Posts