WinForm 应用程序的表单身份验证、角色管理和数据都可以在单个 SQL 数据库中工作吗?
参考这个问题: 网站的表单身份验证、角色管理和数据都可以在单个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,这是完全可能的。您所需要做的就是运行脚本以在数据库中注册所需的表。
使用 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.