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
create table testdok ( dokumnr serial primary key );
CREATE table testSKONTROL (
dokumnr integer not null references testdok on update cascade on delete cascade deferrable
);
Scaffold database using ef core data provider for PostgreSql.
Observed:
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Microsoft.EntityFrameworkCore.Design
StackTrace:
at Microsoft.EntityFrameworkCore.Scaffolding.Internal.CSharpDbContextGenerator.TransformText() in Microsoft.EntityFrameworkCore.Scaffolding.Internal\CSharpDbContextGenerator.cs:line 254
kobruleht
changed the title
Nullreferencexception scaffolding relatin in table without primary key (regression)
Nullreferencexception scaffolding foreign key without primary key (regression)
Dec 12, 2022
Create tables in Postgres 15 or earlier database
Scaffold database using ef core data provider for PostgreSql.
Observed:
EF Core version: 7.0
Database provider: https://github.com/npgsql/efcore.pg
Target framework: .NET 7.0
Operating system: Windows 11
IDE: Visual Studio 2022 Version 17.4.2
The text was updated successfully, but these errors were encountered: