After updating to 5 beta this example fails to delete.

Problem with order of delete statements:

DELETE FROM [dbo].[ExternalDataField] WHERE ([ExternalDataField].[Id] = @p1_0);
DELETE FROM [dbo].[DataFieldBase] WHERE ([DataFieldBase].[Id] = @p1_0);
DELETE FROM [dbo].[FormElement] WHERE ([FormElement].[Id] = @p1_0);
DELETE FROM [dbo].[FormElement.TpVisibleEnable] WHERE ([FormElement.TpVisibleEnable].[Id] = @p2_0);

FormElement.TpVisibleEnable has reference to FormElement, so it must be deleted before FormElement.

asked May 30 '14 at 05:32

pil0t's gravatar image


One Answer:

Hello, pil0t.

Thank you for report. We already investigate this bug.

answered Jun 05 '14 at 01:55

Alexey%20Kulakov's gravatar image

Alexey Kulakov

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA