学习“如何使用netTiers"的良好资源 [英] Good resources for learning "how to use netTiers"

查看:46
本文介绍了学习“如何使用netTiers"的良好资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用netTiers生成了代码.一切正常,但我想做一些修改.

例如:-我有一列[dataType varchar](在表中)用于存储imageURL.对于相同的netTiers,将生成一个TextBox.我想使用FileUpload更改TextBox,将图像保存在文件夹中,然后将URL插入数据库.

我在这里面临的问题是我不知道netTiers如何传递数据.插入查询在哪里?他们在按钮中什么也没有点击:O.我尝试在整个解决方案中搜索按钮的"ID",但没有一次出现.

你们能给我指出一篇好文章或任何有用的资源吗?我正在尝试掌握它,但似乎要花一些时间.

I have generated code using netTiers. Everything works fine, but i want to do some modifications.

Eg:- I have a column[dataType varchar] (in a table) to store imageURL. For the same netTiers generates a TextBox. I want to change the TextBox with a FileUpload, save the image in a folder and insert the URL into the DB.

The problem i am facing here is that i have no clue how netTiers is passing the data. Where is the insert query?? They have nothing in the button click also :O . I tried searching the button''s "ID" in the entire solution, but there was not a single occurance .

Can you guys please point me to a good article or any useful resource?? I am trying to get a grip at it but it seems its gonna take some time.

推荐答案

祝您好运! netTiers上的文档甚至还不完整,因此我不会在生产应用程序中使用它.

Good Luck! The documentation on netTiers isn''t even complete, so I wouldn''t be using it in a production application.

You can start with the list here[^]


所有查询都在数据层中(请参阅Procedures.xml)
我对您的建议是,首先阅读有关netTiers的文档,并检查业务,数据和服务层中的代码.
如果您想要一个更加灵活的用户界面和表示层,我建议您从头开始自己编写该布局.我认为该层生成不好,并且是此生成器的最薄弱点.另一方面,您的解决方案将具有非常好的业务,数据和服务层.
All queries are in data layer (see Procedures.xml)
My advice to you is first to read documentation on netTiers, and to examine code in business, data and service layer.
If you want a more flexibile user interface and presentation layer I suggest you to write that layet from the begining, on your own. In my opinion, that layer is not generated well and is the weakest point of this generator. On the other side, you will have a very good business, data and service layers for your solution.


这篇关于学习“如何使用netTiers"的良好资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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