When you have added all of the type definition objects to your information model, use the Commit method of the IRepositoryTransaction interface to commit your additions to the repository database.
Creating Type Information Programmatically
Information Model Creation Issues
IRepositoryTransaction Interface