A A
RSS

Tag Archive | "LINQ"

Dynamically Build LINQ Queries Using Reflection

Monday, May 12, 2008

View Comments

I was recently working on a project where there was an option to export data from the database.  The export function simply exported 2 hard-coded columns that were returned by a stored procedure into a tab-delimited text file.  The sproc looked something like select id, name from mytable (I am over simplifying of course).  I [...]

Unit Test Linq to Sql in ASP.Net MVC with Moq

Friday, April 4, 2008

View Comments

I have just spent the entire day playing with Moq to unit test an asp.net mvc application I am working with. All I wanted to do is test a “create” method that simply adds a record to the database. So here it goes. 1. I created a Mock Http context to be used by my [...]

Improve LINQ Query Performance

Tuesday, February 19, 2008

View Comments

I was writing a small utility for Outlook 2007 and was using LINQ to query Outlook Tasks.  This query was nested within another query.  While debugging, I realized that looping though the query results in my For Each loop was taking too long. If you have read anything about LINQ, I am sure you already [...]

Fame, Fortune and WCF

Friday, December 28, 2007

Comments Off

I need your help to bring me fame and fortune. I wrote an article at code project which was entered for a competition.  The winner gets $10k.  Can you please check it out at http://www.codeproject.com/KB/WCF/myfeedreader.aspx and if you like it, please vote for it.  I can’t win if you don’t vote.  Voting will be closed [...]

VB9 – LINQ and Extension Methods in Action

Friday, November 30, 2007

View Comments

Here is the scenario, I have collection of books and I want to get a book with a specific ISBN.  In the old ways, you will probably have to create a custom collection and inherit a generic collection of books, then add a method to get by ISBN. Thanks to LINQ and extension methods, you [...]

Advertise Here
The Most Intelligent Add-In To Visual Studio Happy fan of

What I'm Doing...

Recent Posts

Yonkly Open Source

Sign up for my newsletter




* = required field

powered by MailChimp!

megree Widget

Apparently, I am connected to Obama. Check this out...
My path to Obama

Cyber Identity