CLR - OLEDB

Started by stanl, July 04, 2013, 10:09:10 AM

Previous topic - Next topic

stanl

Appears the methods and properties derived from a single object in COM require multiple classes in .NET
...but for starters...
Code (WINBATCH) Select

;Winbatch 2013 - CLR - OLEDB {baby steps}
;
;
;Stan Littlefield July 4, 2013
;////////////////////////////////////////////////////////////////////////////////////////////////////////
ObjectClrOption("use","System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")
oProvider = ObjectClrNew("System.Data.OleDb.OleDbConnection")
oProvider=0
Exit


DAG_P6

Quote from: stanl on July 04, 2013, 10:09:10 AM
Appears the methods and properties derived from a single object in COM require multiple classes in .NET
...but for starters...

I'm not sure what you mean.  Perhaps you are using the word "derived" in a different way. By derived, do you mean "Inherits From?"

The last time I did anything with ADO, whether it was in .NET or VBA, I needed a fistful of objects, most of which depended, directly or indirectly, on a ADO Connection object.
David A. Gray
You are more important than any technology.

stanl