HELP: Custom properties in ADO.NET?

  • Thread starter Thread starter Usenet User
  • Start date Start date
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
 
Back
Top