Selft tracking entity fixup problem

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 26
Joined: Tue 04 Jun 2013 13:01

Selft tracking entity fixup problem

Post by 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?


Devart Team
Posts: 8083
Joined: Thu 14 Aug 2008 12:44

Re: Selft tracking entity fixup problem

Post by 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.

Post Reply