Skip to content

DeleteDirectAsync problem #25171

@PiaoYiQiang

Description

@PiaoYiQiang

Is there an existing issue for this?

  • I have searched the existing issues

Description

In mysql8,code first,
When using DeleteDirectAsync, I encountered the following error:
DELETE FROMMaintenance_ProcedureASmWHERE NOT (m.IsDeleted) AND (m.Id= '3a2040a8-6b10-b095-a3fe-66455c4ba817')
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASmWHERE NOT (m.IsDeleted) AND (m.Id= '3a2040a8-6b10-b095-a3fe-664' at line 1

Based on AI suggestions, the correct SQL should be:
DELETEmFROMMaintenance_ProcedureASmWHERE NOT (m.IsDeleted) AND (m.Id= '3a2040a8-6b10-b095-a3fe-66455c4ba817');

Image

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

10.1.1

User Interface

Common (Default)

Database Provider

EF Core (Default)

Tiered or separate authentication server

Tiered

Operation System

Windows (Default)

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions