Re: Is ADO.NET OleDb .NET Data Provider a COM object?
- From: "William \(Bill\) Vaughn" <billvaNoSpam@xxxxxxxxx>
- Date: Mon, 3 Nov 2008 13:30:53 -0800
Ah, first, COM is simply the interface, not the objects to which it connects.
I recommend that you give up on COM-based ADO if you're working with a .NET language. (period)
Yes, I expect there are MySQL ODBC drivers and there are MySQL .NET native providers. I found one here http://dev.mysql.com/downloads/connector/net/5.0.html. There might be others. I would (always) recommend a .NET native provider over an OLE DB (or ODBC) provider. As I discuss in my latest book, using ODBC drivers to access databases is also faster and less trouble-prone than OLE DB as the interface is (again) managed code.
--
__________________________________________________________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker’s Guide to Visual Studio and SQL Server (7th Edition)
____________________________________________________________________________________________
"Mark Worsnop" <MarkWorsnop@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:278F2FC8-3B41-4139-9E53-CC9F90FFD8F5@xxxxxxxxxxxxxxxx
So if I want my application to be able to use SQL server or MySql for.
example, the only choice I have is using the OleDB, is that correct. I do
know there are differences in the way you talk to the DB regardless of how
you get there.
If I do us the OleDB and that uses the COM wrapper, then I might as well
use the COM that I used in VB6 too or are they different.
As there is no other way to access MySql other than the OleDB am I to assume
that its ok to use this? Is there another choice?
Thanks for all your input!
- Follow-Ups:
- Re: Is ADO.NET OleDb .NET Data Provider a COM object?
- From: Mark Worsnop
- Re: Is ADO.NET OleDb .NET Data Provider a COM object?
- References:
- Is ADO.NET OleDb .NET Data Provider a COM object?
- From: Mark Worsnop
- Re: Is ADO.NET OleDb .NET Data Provider a COM object?
- From: Norman Yuan
- Re: Is ADO.NET OleDb .NET Data Provider a COM object?
- From: Mark Worsnop
- Re: Is ADO.NET OleDb .NET Data Provider a COM object?
- From: William \(Bill\) Vaughn
- Re: Is ADO.NET OleDb .NET Data Provider a COM object?
- From: Mark Worsnop
- Is ADO.NET OleDb .NET Data Provider a COM object?
- Prev by Date: Re: Is ADO.NET OleDb .NET Data Provider a COM object?
- Next by Date: Re: Is ADO.NET OleDb .NET Data Provider a COM object?
- Previous by thread: Re: Is ADO.NET OleDb .NET Data Provider a COM object?
- Next by thread: Re: Is ADO.NET OleDb .NET Data Provider a COM object?
- Index(es):
Relevant Pages
|