hi otis,
here i am back again.
now, what i have is:
BASE_ENTITY
ENTITY_A_1 : BASE_ENTITY
ENTITY_B_1 : ENTITY_A_1
ENTITY_A_2 : BASE_ENTITY
ENTITY_B_2 : ENTITY_A_2
i use TABLE PER TYPE inheritance. now, in the generated code for the ms entity framework i expect, beside all other things, 5 ObjectSets (in the dbcontext):
ObjectSet<BASE_ENTITY> BASE_ENTITYS
ObjectSet<ENTITY_A_1> ENTITY_A_1s
ObjectSet<ENTITY_A_2> ENTITY_A_2s
ObjectSet<ENTITY_B_1> ENTITY_B_1s
ObjectSet<ENTITY_B_2> ENTITY_B_2s
but in the loop header of the loop generating the corresponding code, i can see:
foreach(EntityDefinition entity in _executingGenerator.Entities.Where(e => !e.IsSubType && !e.IsPureManyToManyIntermediate).OrderBy(e => e.Name))
so, for subtypes no entitysets are generated. but why?
thanx in advance,
regards
chris