使用三层或两层体系结构插入,更新,删除代码 [英] insert ,update,delete code using three tier or 2 layer architecture

查看:76
本文介绍了使用三层或两层体系结构插入,更新,删除代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经阅读了很多有关三层体系结构的文章,并且还尝试了一些代码,但是我尝试的方法不正确.
实际上,我正在编写用于插入,更新,搜索等的代码.

我知道在3层中,我们无法正常执行打开和关闭数据访问层中的连接.
我想要使​​用3层体系结构进行插入,更新等操作的正确代码
我可以很容易地理解和实现.

我是3层架构的新手

请帮忙.

Hi,

I have read many articles on three tier architecture and also tried some code on that but the way I tried was not correct.
Actually I was writing code for insert, update, search etc.

I know that in 3 tier we open and close the connection in data access layer which I was not able to do properly.
I want a proper code for insert, update etc using 3 tier architecture
which I can easily understand and implement.

I''m new to 3 tier architecture

Please help.

推荐答案

看看这些,并附带示例说明:
C#中的3层体系结构 [ 3-层架构示例 [使用C#的ASP.NET中的3层体系结构 [
Have a look at these, explaination with samples:
3-tier architecture in C#[^]
3-Tier Architecture Examples[^]
3-Tier Architecture in ASP.NET with C#[^]


这篇关于使用三层或两层体系结构插入,更新,删除代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆