In a medium saucepan, dissolve the sugar in the milk and bring just to a boil.
With a whisk, beat the egg yolks and whole eggs in a stainless steel bowl.
Combine the cornstarch and sugar. Add to the eggs and whisk until smooth.
Temper the egg mixture by slowly beating in hot milk.
Return the mixture to the heat and bring to a boil, stirring constantly.
When the mixture comes to a boil, continue to stir constantly and boil for up to 2 minutes, until the cream has no raw starchy taste.
Remove from the heat. Stir in the butter and vanilla. Mix until butter is melted and completely blended in.
Pour out into a clean shallow pan. Cover with plastic wrap placed directly in contact with the surface of the cream to prevent a crust from forming. Chill.
For filling donuts, whip the chilled pastry cream until smooth before using.