Getting started with Linq-To-Entities tutorial
The transition from Linq-to-SQL to .Net's Entities framework is incredibly simple In my humble opinion, Linq is easily the greatest thing .Net has come out with in the past few years, and along with...
View ArticleWhy I decided to stick with Linq-to-SQL over Linq-to-Entities
I tried to make the switch... but Linq-to-Entities is just so much more work! Recently I tried, I really tried to like L2E, but I just can't do it! It adds layer upon layers of extra crap I have to do...
View ArticleSlick-Ticket Trouble Ticketing/Help Desk System
My first Open-Source Project! This is a simple, to-the-point system. It was born out of loathing of the system that I was forced to use. It was tested in a live environment with hundreds of users and...
View ArticleYou might be making a lot of unneccessary trips to your DB with Linq-to-SQL
Linq-to-SQL has great use of relations, but lazy loading can cause a huge amount of trips to your DB - implementing eager loading is one answer After my rant on L2E, Dan from Microsoft got back to me...
View ArticleLinq-to-SQL vs Linq-to-Entities : Revisited
After 2 months of nothing but L2E, I feel I can give a decent comparison Most likely you have read more than just a few of these comparisons and are tired of the debate. I too disliked L2E from the...
View ArticleUniversal IQueryable Search Usable by Linq-to-SQL and Linq-to-Entities
ever since Linq came out, I have been improving my simple 'google-like' searches; I think I found the holy grail UPDATE 05/12/2009 - I have done a ton of updates to the class using Reflection, and a...
View ArticleUniversal IQueryable Search Version 2 with Reflection
'google-like' search with an IQueryable made even simpler A little bit ago, I came out with this post: Universal IQueryable Search Usable by Linq-to-SQL and Linq-to-Entities and it worked great, but it...
View ArticleCloning an Entity in Linq-to-Entities
Making a clone of a record and popping it back into the database There are a lot of reason you may want to do something like this, for me, users wanted to be able to make a copy of a huge record so...
View ArticleSlick-Ticket v2.0 Released
Many improvements across the board, mostly behind the scenes I am proud to say that I have released version 2 of my open-source trouble-ticketing/help desk system Slick-Ticket. I wasn't initially...
View ArticleForganizer - unobtrusive network file organizer - new open source project
An unobtrusive intranet ASP.NET MVC application for logically tagging, organizing and searching network files in one centralized location with a fast and simple interface Me and some friends have a...
View ArticleGet the Primary Key PropertyInfo of any Linq-to-SQL Table
Easily find any table's Primary Key property In my search for a universal generic Get() accessor for Linq-to-SQL DataContexts, I figured I would have to dynamically find the primary key of a table....
View ArticleUniversal Get() accessor for any Linq-to-SQL Table
never write a Linq-to-SQL Get accessor again I don't even want to know how many times I have written something like this: var p = db.Products.FirstOrDefault(x => x.Id == someId); Then 4 lines down,...
View ArticleUpdating Multiple Fields via LINQ and Reflection Automatically (EF4)
You can use reflection to avoid manually entering a ton of fields Recently, the question was asked on Stackoverflow about updating multiple integer fields in an EF4 object without having to type each...
View ArticlePluralize a String or Class Name in C# and .Net
Sometimes you need to pluralize names like when you are working with Entity Framework or countless other sitautaions When you auto-generate from tables in Entity Framework, it will make the table names...
View Article