Missing PrimaryKeyColumn when using Inheritnace Hierarchy and DynamicData plugin

Posts   
 
    
Liero
User
Posts: 40
Joined: 18-Sep-2009
# Posted on: 28-Jul-2010 13:47:30   

When I use Inheritnace Hierarchy implementation (TargetPerHierarchy) like

AdvertisementSingleEntity : AdvertisementBaseEntity AdvertisementGroupEntity : AdvertisementBaseEntity

the MetaTables (AdvertisementSingle and AdvertisementGroup) provided by LLBLGenProDataModelProvider does not have primary key columns, resp. value of MetaModel.GetTable("AdvertisementSingle").PrimaryKeyColumns.Count is 0

the pk field is defined in AdvertisementBaseEntity and for its MetaTable there is MetaColumn in PrimaryKeyColumns collection.

Update/Insert page templates does not works.

Using v2.6

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 28-Jul-2010 16:26:53   

What's the file version of the SD.LLBLGen.Pro.DynamicDataSupportClasses.NET35.dll you are using?

Liero
User
Posts: 40
Joined: 18-Sep-2009
# Posted on: 30-Jul-2010 14:25:25   

version is 2.6.09.0324

I have stopped to use Inheritnace Hierarchy, because there were more related problems, not only with dynamic data, so you can close the thread if you want.

Personally, I'm fan of Dynamic Data, but there're quite a lot of of issues with the metadataprovider. I would be glad to hear from you about plans to support newer asp.net 4 DynamicData, which has many great improvements.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 30-Jul-2010 16:04:54   

We have no plans to support the newer versions as MS is not really pushing the framework any forward (in fact, it looks like it's been abandoned in favor of WCF RIA services).

Frans Bouma | Lead developer LLBLGen Pro