创建C#数据库应用程序的最佳方法 [英] best way to create C# database application
问题描述
大家好。
我是C#数据库应用程序的新手
我正在开展一个项目。它的主要目的是在数据库上工作(Microsoft Access一个)。
我工作的主要部分是:
- 数据库操作(插入,更新,删除,选择)
- 用于查看数据和操作数据的表单。
我正在使用Visual Studio 2005功能执行此操作 - 添加数据集并将其链接到我的数据库。
实际上它合并了数据库代码,表单代码和业务规则...
我需要一些更结构化的工作,比如MVC
如何才能执行此操作?即,构建结构化C#数据库应用程序的最佳方法是什么?最好的......不是最简单的?
hello everybody
I'm new to C# database applications
I'm working on a project. It's main main purpose is to work on a database (Microsoft Access one).
main parts of my work are:
- the database operations(insert, update, delete, select)
- the forms to view the data and manipulate it.
I'm using Visual Studio 2005 capabilities to perform the job -adding a dataset and linking it to my database-.
Actually it merges the database code, forms code and business rules...
I need some more structured work, something like MVC
how can I get this performed ? i.e. what is the best way to build a structured C# database application ? the best ... not the easiest ?
推荐答案
去等级。
1. 多层架构 [ ^ ]。
2. N层体系结构和提示 [ ^ ]。
3. C#.NET中的三层架构 [ ^ ]。
Go for Tiers.
1. Multitier architecture[^].
2. N-Tier Architecture and Tips[^].
3. Three Layer Architecture in C# .NET[^].
这篇关于创建C#数据库应用程序的最佳方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!