MySQL Forums
Forum List  »  Announcements

Re: Connector/Net 5.1.1 has been released
Posted by: Michael Kanios
Date: May 24, 2007 04:01AM

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.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Connector/Net 5.1.1 has been released
3826
May 24, 2007 04:01AM


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.