MattE wrote:
Hi Frans,
Thanks - yes, I am aware of the LingMetaData class and its usage, what I am wondering about is the use (as in the code snippet above) of the DataContext classes generated when creating Linq to Sql classes in Visual Studio...
Regards,
Matthew
I'm not sure why you're asking here on the llblgen pro forums what the Datacontext is of linq to sql? It's in the MSDN documentation about linq to sql.
LLBLGen Pro doesn't use a central 'session/context' class as most o/r mappers do, perhaps that's the reason for your question. The classic Scott Ambler design of an o/r mapper uses a central session/context class which does all the persistence logic and contains all the fetched entities. In llblgen pro there's no such thing.