Re: Connector/Net 5.1.1 has been released
Reggie Hello,
I found the problem why DbDirect methods were not generated.
1. In DataObjectSupport you have a conversion for Conversion for IsPrimary Property for the Index type "<Calculate expr="IIF({0} = 'YES'), true, false)" type="System.Boolean" />
</Conversion>"
The GetIndexs Method in SchemaProvider already return a boolean column for this property.
2. The GetIndexColumns method in SchemaProvider calls the GetTables(restrictions) method which returns no tables. I set restrictions[3] = null since this ristriction is the table type for the GetTables method.
When this is done the primary key is shown in bold in query builder.
Hope this helps.
Please let me know if you would like to post any code.
Subject
Views
Written By
Posted
7956
May 23, 2007 01:23PM
Re: Connector/Net 5.1.1 has been released
3826
May 24, 2007 04:01AM
3955
May 29, 2007 11:48AM
3692
May 30, 2007 12:50AM
3954
May 26, 2007 12:39PM
3790
May 28, 2007 04:07PM
3739
May 28, 2007 04:10PM
4080
May 29, 2007 07:56AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.