For the noodles, boil 3-4 l salted water (1 teaspoon salt per litre). Clean and wash the broccoli and divide into small florets. Lightly roast the pecans in a pan without fat and remove them, chop them coarsely if necessary.
Cook the tortellini in boiling salted water according to the instructions on the packet. Cook broccoli for about 3 minutes. Drain everything.
Preheat oven (electric cooker: 200 °C/circulating air: 175 °C/gas: see manufacturer). Peel garlic and cut in half. Rub a casserole dish with the cut surface. Pluck the ham into pieces. Peel onions and cut into thin slices.
Arrange tortellini, broccoli, nuts, ham and onions in the casserole dish.
Mix crème fraîche, eggs and cream. Season with salt and pepper. Pour the egg cream over the tortellini mixture. Grate the cheese directly over the casserole. Bake in a hot oven for about 20 minutes until golden brown.