Thanks for Brian and Fred's quick response!
Hi Geir,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you would like to get some suggestions
about how to build the data access tier for your application. If there is
any misunderstanding, please feel free to let me know.
Brian and Fred has provided us with a good suggestion to use Data Access
Application Block for .NET to build the data access tier. The Data Access
Application Block is a .NET component that contains optimized data access
code that will help you call stored procedures and issue SQL text commands
against a SQL Server database. It returns SqlDataReader, DataSet, and
XmlReader objects. You can use it as a building block in your own
.NET-based application to reduce the amount of custom code you need to
create, test, and maintain. And you can download the source code and
documentation for free from the link Brian provided.
http://msdn.microsoft.com/library/de...us/dnbda/html/
daab-rm.asp
Also, if you would like to build the Data Access tier yourself without
using tools, you can check some of architectural sample applications on
MSDN. I think they are the best practices on building .NET multi-tier
applications. Pet Shop and Duwamish are well-known ones. They can be
downloaded from the following links:
http://msdn.microsoft.com/library/de...us/dnbda/html/
petshop3x.asp
http://msdn.microsoft.com/library/de...us/dwamish7/ht
ml/vtoriarchitecturaloverview.asp
HTH. If anything is unclear, please feel free to reply to the post.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."