Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Do we need to have a database class for a website that always access to db ?

Thread Tools

Do we need to have a database class for a website that always access to db ?

Posts: n/a

I am currently creating a website that will access to db a lot, currently I
am using MS Access as the database.
will there be any benefits to use a database class ? if yes, where can I
find a database class sample that suit to use with MS Access ?


Reply With Quote
Natty Gur
Posts: n/a

It will be good to separate between application layers. If your
application will be build from pages, Business logic classes and Data
Access Layer classes it will be much easier to maintain it over time.
Imagine that you change DB and need to go through all paged to look for
selects and change them. Wouldn't it be easier if all DB code dealing
with certain entity exist in one class and data return as Value Objects?
This way you just need to fix one place, without influencing other
system components ...

Natty Gur[MVP]

blog :
Mobile: +972-(0)52-8888377

*** Sent via Devdex ***
Don't just participate in USENET...get rewarded for it!
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Database Database Database Computer Information 0 09-27-2012 02:43 AM
DataBase DataBase DataBase DataBase Computer Information 0 09-26-2012 09:40 AM
Nested Class, Member Class, Inner Class, Local Class, Anonymous Class E11 Java 1 10-12-2005 03:34 PM
Trying to create a CSS box that is always is always the width of an image placed inside it (and no wider) Deryck HTML 4 06-22-2004 08:25 PM
I have created a website "lookup" i dont think its gonna get bigger and fancyer than it already is but have a look Rahmi Acar C++ 0 04-20-2004 10:18 PM