Start the oven on 200 degrees Celsius.
If you don´t have boiled pasta already, boil the pasta according to the instructions on the package. Take off the pasta from the stow. Then pour away the water and let the pasta in the casserole.
Cut the onion and the meat (ham, pork, sausage etc..) in pieces.
If you don´t have the cheese grated already, then it is time to do it now.
Put the pasta in the oven form, and add the onion and the meat. Mix it all around.
Stir the eggs and the milk together, and add the spices and stir it well.
Add the fluid over the pasta and meat.
Sprinkle the cheese over the pasta.
Put the pasta gratin in the middle of the oven for 30-35 minutes.
Take out the pasta gratin and serve it warm.