I have an existing database that I’m access with LINQ to Entity in .NET 3.5 and I’ve run into an issue. One of the tables has a column named “from”. This ends up screwing up LINQ when I try to join on it because from is a special word. Is there any way around this? I’m trying to avoid renaming that column since a lot of other things are using it.
Share
You can escape any keyword in C# with @, so use
@fromHopefully this helps