VS2008 generated code is assigning to the Transaction property?
645096Aug 6 2009 — edited May 7 2010Hi - I'm using ODT 11.1 for the first time in VS2008, accessing a 10g database. I go into Server Explorer and create the data connection and specify ODP as the provider, then I drag a table from the list of tables and drop it into an empty DataSet designer. It creates the DataTable and TableAdapter objects. But when I try to compile the vs project, I get errors on the code generated by the designer from the way it is trying to assign the Transaction property. "Property or indexer 'Oracle.DataAccess.Client.OracleCommand.Transaction' cannot be assigned to -- it is read only". I look at the designer code and sure enough, it's doing stuff like "this.CommandCollection.Transaction = this._transaction;" which we all know isn't supported by ODP.
What am I overlooking?
Thanks,
joe
Edited by: JoeCool on Aug 6, 2009 11:13 AM