HELP: Custom properties in ADO.NET?

U

Usenet User

Hi all,


The "old-fashioned" ADO allowed for setting the custom properties
exposed by the provider, like in the example below:

Set objCommand = New ADODB.Command
With objCommand
.ActiveConnection = objConnection
.CommandType = adCmdText
.CommandText = strQuery
.Properties("Maximum Rows") = 0 <------- !!!
.Prepared = True
.Execute
End With

Is there a way to do this in ADO.NET? I am using a custom DB provider
with System.OleDb.* objects, yet am not sure how the above can be
achieved.

TIA!

P.S. I am using ADO.NET 1.1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top