简体   繁体   English

在 Visual Studio Code 中编码和查看输出

[英]Coding and viewing output in Visual Studio Code

I find this interesting https://camo.githubusercontent.com/567f685fa08e065a58f4ac105dc033d0416444ec/68747470733a2f2f692e696d6775722e636f6d2f6a4f574434766b2e676966 and I want to try this so that I have an idea on how the query will be looked like when I coded it using SQLKata, the problem is I don't know how to start.我发现这个有趣的https://camo.githubusercontent.com/567f685fa08e065a58f4ac105dc033d0416444ec/68747470733a2f2f692e696d6775722e636f6d2f6a4f574434766b2e676966 ,我想,让我对如何查询将看起来像当我编码它使用SQLKata的想法试试这个,问题是我不”不知道如何开始。 I read something on Debugging Visual Studio code (From given link looked like I think it's on visual studio code) but it doesn't help.我读了一些关于调试 Visual Studio 代码的内容(从给定的链接看起来我认为它是在 Visual Studio 代码上)但它没有帮助。 Does anyone have an idea that can lead me on the right track.有没有人有一个想法可以引导我走上正轨。 Your help is very much appreciated.非常感激你的帮助。

Use LinqPad to Convert LINQ to SQL.使用 LinqPad 将 LINQ 转换为 SQL。 It's a free tool can be downloaded here .这是一个免费工具,可以在这里下载。 Here is an example这是一个例子LINQPad

The simplest way to see the output in DotNet Core is to send the output to the Console , Where you executed the dotnet run command.DotNet Core 中查看输出的最简单方法是将输出发送到Console ,在那里您执行了dotnet run命令。

I believe that the example mentioned is built like this.我相信提到的例子就是这样构建的。

Dotnet 应用程序控制台演示

To send compiled queries in SqlKata check the official docs https://sqlkata.com/docs/execution/logging要在 SqlKata 中发送已编译的查询,请查看官方文档https://sqlkata.com/docs/execution/logging

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM