Using LLBLGEN 3.1 (June 17, 2011) and PostgresSQL 8.4.1.
Generating Code using the EFv1 (EFv4) template with the LazyLoading enable does not set the namespace and annotation in the CSDL of the EDMX file. This forces my application to use the .Include to load the navigated properties of my Entities (Eager Loading). See output of code generation and expected code generation.
Here’s what they should have to enable lazy loading:
<edmx:ConceptualModels>
<Schema Namespace="SSCSJournalModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
<EntityContainer Name="SSCSJournalEntities" annotation:LazyLoadingEnabled="true">
Here’s what they did have:
<edmx:ConceptualModels>
<Schema Namespace="SSCSJournalModel" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
<EntityContainer Name="SSCSJournalEntities">
Thanks,
Charlie J.