Page 1 of 1

Entity Framework / Oracle / Membership - Table Templates

Posted: Wed 10 Nov 2010 08:19
by rednose84
Hello @all,

i have installed the webtemplate Tables from File InstallWebTables.sql.

Now i want to generate an EF Model. But if i selected all ASP_NET Tables, there a 8 Errors in Model like:


Custom tool error: Properties referred by the Principal Role ASPNET_USERS must be exactly identical to the key of the EntityType MembershipModel.Store.ASPNET_USERS referred to by the Principal Role in the relationship constraint for Relationship MembershipModel.Store.ASPNET_MEMBERSHIP_USERID_REF. Make sure all the key properties are specified in the Principal Role.


No changes are happend to this tables. Any ideas...?

Posted: Thu 11 Nov 2010 15:27
by AndreyR
I have installed the latest 5.70.190 build of dotConnect for Oracle, and I'm unable to reproduce the problem. There is one broken self-referencing association in the ASPNET_SITEMAP table, but if it is removed everything is validated successfully.
Is the problem reproducible using the latest build?

Posted: Fri 07 Jan 2011 11:34
by rednose84
The problem is solved in the latest version.