Questions tagged «sqlclient»

3
如何在ASP.NET Core中使用SqlClient?
我正在尝试在ASP.net Core中使用SQLClient库,但似乎无法正常工作。我在网上找到了这篇文章,以提供有关如何设置的建议,但不适用于我:http : //blog.developers.ba/using-classic-ado-net-in-asp-net-vnext/ 我有一个简单的控制台应用程序包。我的project.json看起来像这样: { "version": "1.0.0-*", "description": "DBTest Console Application", "authors": [ "" ], "tags": [ "" ], "projectUrl": "", "licenseUrl": "", "compilationOptions": { "emitEntryPoint": true }, "dependencies": { "System.Data.Common": "4.0.1-beta-23516", "System.Data.SqlClient" : "4.0.0-beta-23516" }, "commands": { "DBTest": "DBTest" }, "frameworks": { "dnx451": { }, "dnxcore50": { "dependencies": …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.