Re: Data access layer for SQL Server & MS Access
- From: "aaron.kempf@xxxxxxxxx" <aaron.kempf@xxxxxxxxx>
- Date: 8 Dec 2006 15:25:14 -0800
Robin;
can it; MP is always right
Just use ADO; that's my vote.
ADO.net is _CRAP_
-Aaron
RobinS wrote:
We both know that's not true. You are the one who is flaming people,
as anyone can tell by your history. You could at least maintain
a modicum of class and not tell lies about other people.
Robin S.
-----------------
"Master Programmer" <master_programmer@xxxxxxxxxx> wrote in message
news:1165563227.558862.152350@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Dont listen to this guy, he just posts messages around these groups
trying to cause trouble and give people the wrong information.
You need to create a custom "Data Access Class" that obscures the type
of database that you are connecting to. OLEDB is way too slow (100
times slower than a native SQL Server connection).
To be honest with the limitations of the .net data tools (IE: no
generic dataReader etc) - you are probably better to keep life simple.
I don't mean to be blasphemous but just import ADO (COM) and use that -
at least it has MoveNext.
The Grand Master
"Visual Basic 6.0 Jihad"
sanders_mike_newsgroups@xxxxxxxxx wrote:
Hi
I have a web app that needs to be able to use either SQL Server or MS
Access - depending upon the installation. I want to avoid having
unnessesary amounts of code (eg: dim x as sqlDataReader, dim y as
OLEDBDatareader in lots of parts of the app)
Could I not just avoid this and use OLEDB for both database types?
Whats the best way - OLEDB or to create some kind of data access layer
that returns recordsets.
Thanks
Mike
.
- Follow-Ups:
- Re: Data access layer for SQL Server & MS Access
- From: RobinS
- Re: Data access layer for SQL Server & MS Access
- References:
- Data access layer for SQL Server & MS Access
- From: sanders_mike_newsgroups
- Re: Data access layer for SQL Server & MS Access
- From: Master Programmer
- Re: Data access layer for SQL Server & MS Access
- From: RobinS
- Data access layer for SQL Server & MS Access
- Prev by Date: Re: destroying/releasing objects from memory?
- Next by Date: Re: destroying/releasing objects from memory?
- Previous by thread: Re: Data access layer for SQL Server & MS Access
- Next by thread: Re: Data access layer for SQL Server & MS Access
- Index(es):
Relevant Pages
|