This topic describes how to link a database to Team Foundation Version Control (TFVC).
To link a database to TFVC:
1. In Database Explorer, right-click the database you want to link and select Source Control > Link Database to Source Control.
Alternatively, on the top menu, select Database > Link Database to Source Control.
2. In the Link Database to Source Control dialog, click
Create New Repository in the Source control repository field.
Note
By default, dbForge Studio automatically selects the repository that was previously linked.
3. In the Source Control Repository Properties dialog, enter the required repository settings:
Note
The default authentication type is Azure DevOps Server (formerly TFS) Windows, which uses Windows authentication.
Note
The database folder must already exist on the server. If it doesn’t, the connection will fail.
For instructions, see How to resolve the TFVC issue - No folder on the repository.

4. Optional: To verify the repository settings, click Test.
5. To save the settings and close the dialog, click OK.
6. Choose a database development model:
7. To connect the database to the repository, click Link.

The Refresh window opens and displays the progress of the refresh operation.
After the database is linked, it appears in Database Explorer with the source control icon:

Note
If you receive the Cannot find local client for TFVC error, install the Team Foundation Server Object Model:
After linking the database, your next step depends on whether the repository is new or already in use by your team:
In the Local changes section of the Source Control Manager, select the objects you want to add to version control, then click Commit.
For instructions, see Commit changes.
In the Remote changes section, select the objects you want to retrieve, then click Get Latest.
Note
The Get Latest option is available only in the dedicated development model.
For instructions, see Get the latest version.