I see you didn't take the advice of everyone who replied to your previous question
How to assign templates to another template dynamically in sitecore?
This really does sound like a bad idea, but if you genuinely have a good reason for this approach then the answer is very similar to that of your other question. In this case you just use the Insert Options
field:
Sitecore.Data.Database db = Sitecore.Configuration.Factory.GetDatabase("master");
Item standardValItem = db.GetItem("/sitecore/templates/Insert Options/Employees/__Standard Values");
Item teamSizeTemplate = db.GetItem("/sitecore/templates/Insert Options/Size/TeamSize");
using (new Sitecore.SecurityModel.SecurityDisabler())
{
try
{
standardValItem.Editing.BeginEdit();
standardValItem[Sitecore.FieldIDs.Branches] = teamSizeTemplate.ID.ToString();
}
finally
{
standardValItem.Editing.EndEdit();
}
}