Ejemplo n.º 1
0
        public static void WholeIncludeCommon(FurnitureHelperContext context)
        {
            context.parts.Include(part => part.materials)
            .Include(part => part.part_controllers_embed_relative_positions)
            .Load();

            MaterialRepo.WholeIncludeCommon(context);
        }
Ejemplo n.º 2
0
        protected override void WholeInclude()
        {
            Context.concrete_parts.Include(cpart => cpart.parts)
            .Include(cpart => cpart.materials)
            .Include(cpart => cpart.colors)
            .Load();

            PartRepo.WholeIncludeCommon(Context);
            MaterialRepo.WholeIncludeCommon(Context);
        }