You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: