Hi guys,
I'm using llblgen 3 with LlblgenPro Runtime Framework for SQL Server.
In the new project I've added several entities like User and Group.
And now I want to create a new relation between them M:N.
I select relationships node in the tree and do right click and select New Many to Many relatioship.
and it throws this exception:
Exception information.
LLBLGen Pro version: v3.0. Build: January 3rd, 2011
Exception details:
Message: Unable to cast object of type 'WhereEnumerableIterator`1[SD.LLBLGen.Pro.ApplicationCore.EntityModel.RelationshipEdge]' to type 'SD.LLBLGen.Pro.ApplicationCore.EntityModel.RelationshipEdge'.
Source: LLBLGenPro
Stack trace:
at SD.LLBLGen.Pro.Gui.Forms.IndirectRelationshipEditor.HandleFirstRelationshipSelected()
at SD.LLBLGen.Pro.Gui.Forms.IndirectRelationshipEditor.FillFirstRelationships()
at SD.LLBLGen.Pro.Gui.Forms.IndirectRelationshipEditor.HandleStartEntityComboBoxSelected()
at SD.LLBLGen.Pro.Gui.Forms.IndirectRelationshipEditor.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Inner exception: <null>
Can you help me?
Thanks,
Anton