It is possible to create a Class Library project and add the proxy (Expand the project in the Solution Explorer > Right-click Dependencies > Add Connected Service) to it. Then, add the Class Library reference to the Azure data migration Function. In addition, it is also possible to add it directly to the Azure Function project.
The instructions above and the following screenshot were based on Visual Studio 2017 (version 15.7.2) Enterprise-Edition.