Skip to content

Table names are not quted in generated SQL in Development_V1 branch #175

Closed
@zhengbli

Description

@zhengbli

I got the following SQL

SELECT [x_11].[Id] as 'Id',[x_11].[Name] as 'Name',[x_11].[Email] as 'Email',[x_11].[Pwd] as 'Pwd',[x_11].[ProfileImage] as 'ProfileImage' 
FROM dbo.User as [x_11] 

From

query {
    for u in ctx.Dbo.User do select u
}

And that gave me an error because the User is a keyword in sql server.

I think it should generate [dbo].[User] instead of dbo.User

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions