Skip to content

Package manage console generate code: DB context: Microsoft SQL Server 2019 Developer Edition, Express: Table name FooData became FooDatum, Table name FooQuantum became FooQuanta #37606

@donhuvy

Description

@donhuvy

Bug description

Microsoft SQL Server 2019 Developer Edition, Express: Table name FooData became FooDatum, Table name FooQuantum became FooQuanta .

Your code

SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[JFooQuantum](
	[JobID] [uniqueidentifier] NOT NULL,
	[DirectMatetialAmount] [decimal](18, 4) NOT NULL,
	[IndirectMatetialAmount] [decimal](18, 4) NOT NULL,
	[DirectLaborAmount] [decimal](18, 4) NOT NULL,	
	[CreatedDate] [datetime] NULL,
	[CreatedBy] [nvarchar](50) NULL,
	[ModifiedDate] [datetime] NULL,
	[ModifiedBy] [nvarchar](50) NULL,
 CONSTRAINT [PK_JCAllocationQuantum] PRIMARY KEY CLUSTERED 
(
	[JobID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO

SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[MFooData](
	[ChangeID] [int] IDENTITY(1,1) NOT NULL,

	[IsDeleted] [bit] NOT NULL,
 CONSTRAINT [PK_MeInvoiceSyncData] PRIMARY KEY CLUSTERED 
(
	[ChangeID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO

ASP.NET Core 10, Windows 11. Generate code by Entity Framework Core Package Manage Console (all versions are latest versions)

Stack traces


Verbose output


EF Core version

10.0.2

Database provider

Microsoft SQL Server

Target framework

.NET 10

Operating system

Windows 11

IDE

Visual Studio 2022

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions