WinForm 应用程序的表单身份验证、角色管理和数据都可以在单个 SQL 数据库中工作吗?

发布于 2024-10-22 12:12:18 字数 359 浏览 6 评论 0原文

参考这个问题: 网站的表单身份验证、角色管理和数据都可以在单个 SQL 数据库中工作吗?,我需要一个数据库,但用于 WinForm 应用程序。我需要角色和用户管理,并且我正在升级旧应用程序,因此用户表预先存在并包含一些数据。我需要导入该数据。

环境:Windows 7 Pro 64 位、SQL Server 2008 EE、Visual Studio 2010、C#、.NET 4.0 和 Windows 窗体

With reference to this Question: Can Forms Authentication, Role Management and Data for the website all work from a single SQL database?, I require a single Database but for WinForm applications. I need Roles and User Management and I'm upgrading a legacy application so Users Table preexists and has some data. I'll need to import that data.

Environment: Windows 7 Pro 64-bit, SQL Server 2008 EE, Visual Studio 2010, C#, .NET 4.0, and Windows Forms

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

北风几吹夏 2024-10-29 12:12:18

是的,这是完全可能的。您所需要做的就是运行脚本以在数据库中注册所需的表。

使用 ASP.NET SQL 可以轻松完成此操作服务器注册工具

其他数据表不必遵循任何特定架构,并且不会与您的 ASP.NET 表发生冲突,除非您引入了一些有问题的数据表关系。

Yes, it is completely possible. All you need to do is run the script to register the required tables in your database.

This is easy to do using the ASP.NET SQL Server Registration Tool

The other data tables do not have to follow any specific schema and will not conflict with your ASP.NET tables unless you introduce some problematic data table relationships.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文