Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EF Core 6 - Reverse Engineer skips table #1191

Closed
dchillman123 opened this issue Nov 18, 2021 · 1 comment
Closed

EF Core 6 - Reverse Engineer skips table #1191

dchillman123 opened this issue Nov 18, 2021 · 1 comment

Comments

@dchillman123
Copy link

Steps to reproduce

I used EF Core 6 to reverse engineer a sql database - it skipped one table. When I use EF Core 5, the table is not skipped.
The table has a primary key made of two columns - not sure if that is the issue

CREATE TABLE [dbo].[AspNetUserRoles] (
[UserId] nvarchar(128) NOT NULL,
[RoleId] nvarchar(128) NOT NULL,
CONSTRAINT [PK__AspNetUserRoles_RoleIdUserId]
PRIMARY KEY CLUSTERED ([UserId] ASC, [RoleId] ASC)
WITH ( PAD_INDEX = OFF,
FILLFACTOR = 100,
IGNORE_DUP_KEY = OFF,
STATISTICS_NORECOMPUTE = OFF,
ALLOW_ROW_LOCKS = ON,
ALLOW_PAGE_LOCKS = ON,
DATA_COMPRESSION = NONE )
ON [PRIMARY]
)
ON [PRIMARY];

Further technical details

EF Core version in use: EF Core 6

EF Core Power Tools version:2.5.832

Database engine: (SQL Server

Visual Studio version: Visual Studio 2022 17.0.1

@ErikEJ
Copy link
Owner

ErikEJ commented Nov 18, 2021

Yes, this is a many to many tables, which causes a "breaking" change in EF Core 6 - related issue #1184

@ErikEJ ErikEJ closed this as completed Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants