LINQ to EF abstract column names
Posted on 2010-08-31
I was wondering whether it is possible to to do something like this:
var x = (from d in DBContext.SOMETABLE
x.column("SOMECOLUMN") = "abc";
ie. I want to be able to access the column names abstractly, this is because I conditionally need to updated different columns and begin able to do the above will make the code far shorter and easier to read.