Cook onion and pimiento in butter until onion is tender (do not brown).
Combine egg, milk, cheese, salt and pepper.
Mix noodles and bread crumbs with cheese mixture. Add onion and pimiento. Pour into greased ring mold or loaf pan. Set in pan of warm water and bake in moderate oven (350°) 1 hour.