I would like to use LLBLGen to generate a linq to sql dbml file as the code generated by LLBLgen is not working corectly with Dynamic Data. In the Global.asax, I have this code:
MetaModel model = new MetaModel();
model.RegisterContext(typeof(SmartUR.Model.SmartURDataContext),
new ContextConfiguration()
{
ScaffoldAllTables = true
});
which throws an exception:
InvalidOperationException: Sequence contains no matching element
If I use the generic MSFT Linq to sql file, it works fine, but I absolutely hate their designer. Please help!!