PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET dbcommand verssus sqlcommand

Reply

dbcommand verssus sqlcommand

 
Thread Tools Rate Thread
Old 22-06-2006, 09:25 PM   #1
klumsy@xtra.co.nz
Guest
 
Posts: n/a
Default dbcommand verssus sqlcommand


I am using the enterprise library for ado.net 2.0, and we are working
out whether we should use the sqlcommand or dbcommand etc. If you are
using a dbcommand, is it being serviced through the OLEDB provider or
could it still be serviced through the SQL SERVER provider?

Karl

  Reply With Quote
Old 23-06-2006, 05:42 AM   #2
Cor Ligthert [MVP]
Guest
 
Posts: n/a
Default Re: dbcommand verssus sqlcommand

Klumsy,

dbcommand is the base class from the commands you mention, and therefore
used by those.

Have a look at factory in Net 2.0

http://msdn2.microsoft.com/en-us/li...derfactory.aspx

I hope this helps,

Cor

<klumsy@xtra.co.nz> schreef in bericht
news:1151007916.490342.292430@u72g2000cwu.googlegroups.com...
>I am using the enterprise library for ado.net 2.0, and we are working
> out whether we should use the sqlcommand or dbcommand etc. If you are
> using a dbcommand, is it being serviced through the OLEDB provider or
> could it still be serviced through the SQL SERVER provider?
>
> Karl
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off