Error!
Success!

Enum Support With LINQ To SQL And SqlMetal

0
kicks

Enum Support With LINQ To SQL And SqlMetal  (Unpublished)

As a programmer I love my enums. I find code written using enums to be more readable than without them. However, there has been and there still is a disconnect between lookup tables in a database and enums in code. One has to restore to some creative trickery to get them working in harmony. Recently while working on a project which involves using LINQ To SQL, I came up with a process which gives me the best of both worlds i.e. using lookup tables in database and enums in code. I am documenting my solution here. Hopefully it will help you.


Kicked By:
Drop Kicked By: