Ejemplo n.º 1
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);
        }
Ejemplo n.º 2
0
        protected override void WholeInclude()
        {
            Context.furniture_items.Include(furniture => furniture.furniture_item_parts_connections).Load();
            Context.furniture_items.Include(furniture => furniture.used_parts).Load();
            Context.furniture_item_parts_connections.Include(connection => connection.parts_connection_glues)
            .Include(connection => connection.two_parts_connection)
            .Load();
            Context.two_parts_connection.Include(connection => connection.part_controllers_embed_relative_positions)
            .Include(connection => connection.part_controllers_embed_relative_positions1)
            .Include(connection => connection.two_parts_connection_glues).Load();

            Context.parts_connection_glues.Include(glue => glue.parts).Load();
            Context.two_parts_connection_glues.Include(glue => glue.parts).Load();
            Context.part_controllers_embed_relative_positions.Include(helper => helper.parts).Load();

            PartRepo.WholeIncludeCommon(Context);
        }