typemismatch

Linq Alias

Welcome to my linq alias generator project aka. LAG :)

LAG will take the dbml files created by the linq to sql designer of the new Visual Studio 2008 and generate more friendly column names from what gets extracted from the database.

To use - firstly download the files from here http://www.codeplex.com/linqalias/

Right now there isn’t direct VS integration so once you have created your models using the Linq To SQL designer right click the dbml file and select Open With … browse to the linqalias.exe file and give the shortcut a friendly name. You’re done - each time you open a dbml file with the alias generator it will re-generate any required column names.

Sometimes, since the file is modified outside of Visual Studio, you will need to mark it as dirty before compiling however sometimes it just picks up the changes.

I’m planning better VS integration later on but for now - since most projects I use have only 1 model file this is good enough.

  • Digg
  • del.icio.us
  • Facebook
  • Technorati
  • StumbleUpon

Most Popular Content