Информация об изменениях

Сообщение linq2db создание моделей от 07.09.2020 18:47

Изменено 07.09.2020 20:21 CyberRussia

linq2db создание моделей
Добрый день,

Решил подключить linq2db и застрял в самом начале.
У меня приложение Core WPF.
В мануале linq2db — скопируйте и переименуйте файл CopyMe.SqlServer.tt.txt — ok
В самом файле написано:

3. Add connection string to the web/app.config file:

<connectionStrings>
<add name="MyDatabase" providerName="System.Data.SqlClient"
connectionString="Data Source=.;Database=MyDatabase;User Id=User;Password=TestPassword;" />
</connectionStrings>

Окей, создал папку web — скопировал туда app.config
Запускаю Transform All A4 Template и после некоторого раздумия получаю:
Severity Code Description Project File Line Suppression State
Error Running transformation: System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 — Could not open a connection to SQL Server) ---> System.ComponentModel.Win32Exception (0x80004005): The network path was not found...

Строка подключения прописана как

<connectionStrings>
<add name="MyDatabase" connectionString="Data Source=THUNDEROBOT_NEW;Initial Catalog=kirill;Integrated Security=True" providerName="System.Data.SqlClient"/>
</connectionStrings>


Строка подключения сама по себе рабочая.

Где ошибка, что править?
linq2db создание моделей