I used: COMMENT ON column Orders.ID IS '#PK_GEN#' Orders is a view. When I go to IbExpert application to examine the view. I can see #PK_GEN# in the description column. It seems that the view is ok according the specifications.Then I go to VS2010, New Item / ADO Net Entity Model. I select the Orders view and then I get: "Warning 6 Error 6013: The table/view 'Firebird.Firebird.ORDERS' does not have a primary key defined and no valid primary key could be inferred. This table/view has been excluded. To use the entity, you will need to review your schema, add the correct keys, and uncomment it. " I am using Firebird Client 2.6.0 , Net 4.0 and DDEX 2.0.5 Please let me know what else I can check, or a web page with detailed instructions. Thank you On 04/06/2011 18:40, Jiri Cincura wrote: On Sat, Jun 4, 2011 at 17:18, Takeshi Kabuto <takeshi.kab...@gmail.com> wrote:Am I doing something wrong or the reason is that #PK_GEN# workaround is not supported for views?You're doing something wrong. It is supported on views. |
------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider