Selft tracking entity fixup problem

Selft tracking entity fixup problem

Postby McMlok » Fri 02 Aug 2013 08:12


I'm using Self-tracking entity for entity generation. When Fixup method is generated there is swap property name of in section for new items in foreach loop.

I have

Code: Select all
class A

class B

in fixup template generate code like this

Code: Select all
item.Id = BId;

I thing there is problém in template becouse when for each is generated, it's generated for class relationProperty.RelationClass.Name. Than item is of this type but name of the properties is getting from oppositeRelationProperty.

It is correct or not?

Posts: 20
Joined: Tue 04 Jun 2013 13:01

Re: Selft tracking entity fixup problem

Postby Shalex » Tue 06 Aug 2013 16:33

1. Are you getting any error or incorrect behaviour with the generated code? If yes, please describe the problem itself.

2. If you create a similar model with EDM Wizard (the ADO.NET Entity Data Model item, *.edmx), most likely you will get the same code generation.
Devart Team
Posts: 7460
Joined: Thu 14 Aug 2008 12:44

Return to dotConnect for Oracle