missing attach/detach methods when generating association

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
kamil
Posts: 1
Joined: Mon 29 Jun 2009 12:39

missing attach/detach methods when generating association

Post by kamil » Mon 29 Jun 2009 13:09

When I add an association between my entities (check image below) in EntityDeveloper, it generates code that doesn't compile:

Code: Select all

public Workspace()
{
  this._Metadatas = new EntitySet(new Action(this.attach_Metadatas), new  Action(this.detach_Metadatas));
  OnCreated();
}
The "attach_Matadatas" and "detach_Metadatas" methods don't exist in the generated Workspace class.

Is this a bug or am I doing something wrong?

Thanks in advance,

Kamil

Image

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Tue 30 Jun 2009 12:12

Thank you for the report, we have reproduced the problem. I will let you know as soon as it is fixed.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 23 Oct 2009 08:32

This problem is fixed in the upcoming Beta build of Entity Developer.

Post Reply