Skip to Main Content

Oracle Developer Tools for Visual Studio

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

VS2008 generated code is assigning to the Transaction property?

645096Aug 6 2009 — edited May 7 2010
Hi - 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2010
Added on Aug 6 2009
11 comments
6,170 views