missing attach/detach methods when generating association

missing attach/detach methods when generating association

Postby 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
kamil
 
Posts: 1
Joined: Mon 29 Jun 2009 12:39

Postby 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

Postby AndreyR » Fri 23 Oct 2009 08:32

This problem is fixed in the upcoming Beta build of Entity Developer.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to dotConnect for MySQL