To write data to Microsoft® Repository, bracket your interactions within the scope of a transaction.
To begin a transaction
-or-
To create a new repository, use the Create method of the IRepository interface.
Both of these methods return the root object for the open repository.
The IRepositoryTransaction interface is accessible via the Transaction property of the object that represents your connection to the repository.