Bug #52349 drag drop support disabled or turned off
Submitted: 24 Mar 2010 23:33 Modified: 21 Jan 2014 23:10
Reporter: Andreas Berglund Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:6.2.2 OS:Windows (Windows 7)
Assigned to: Assigned Account CPU Architecture:Any
Tags: .net Connector

[24 Mar 2010 23:33] Andreas Berglund
Description:
It looks like drag-drop support (technically, DSRefBuilder support) has been turned off in the MySQL Connector for stored procedures.  The stored procedure nodes simply do not seem to support dragging. 

This is odd because I am pretty sure this used to work in previous versions.

Plugins in Visual Studio that rely on drag drop in the Server Explorer no longer function 100% for MySQL. An example plugin is LightSpeed, a LINQ library for .NET.

How to repeat:
Install MySQL Connector 6.2.2 for .NET.

Install the lastest stable LightSpeed Express from here:
http://www.mindscape.co.nz/downloads.aspx

Create a Lightspeed model.

Try to drag and drop a procedure onto the model designer window.

Suggested fix:
Enable drag drop for stored procedures and functions.
[25 Mar 2010 0:19] Ivan Towlson
Additional information:

Looking at MySqlDataObjectSupport.xml, StoredProcedure nodes don't have the BuildDSRef action (which Table and View nodes do).  This is what prevents them from being dragged in Visual Studio.
[25 Mar 2010 1:09] Andreas Berglund
Thanks for the quick response.

Do you know if it will be activated again (i think it worked in earlier versions) or was it intentionally disabled for some reason?

/Andreas
[25 Mar 2010 1:13] Andreas Berglund
Never mind. Thought a mysql developer responded... :P
[6 Apr 2010 8:26] Tonci Grgin
Hi Andreas and thanks for your report.

> This is odd because I am pretty sure this used to work in previous versions.

I can not remember any version where this worked.

Now, I can't seem to find a bug with explanation why this is not supported but we know of this limitation and I do not think dragging of SP's will be supported any time soon.

Reggie?
[25 Jun 2010 21:10] Reggie Burnett
I'm pretty sure this was never enabled.  I've added this to the list of possible new features for 6.4