I keep getting an exception about Linq to Entities not supporting certaion query expressions like this:
MyDataContext db = new MyDataContext()
Brand = db.Brands.First(b => b.BrandId == Int32.Parse(brandIdString))
I'm not attempting to pass along the string parsing on to the entity store, I just want to parse that string into an integer for comparison. Is the only work around to do this before hand or am I totally off here?