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

Update whatsnew.md #2927

Merged
merged 1 commit into from
Dec 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions entity-framework/core/what-is-new/ef-core-5.0/whatsnew.md
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ CREATE TABLE [Animals] (
[Species] nvarchar(max) NULL,
[Discriminator] nvarchar(max) NOT NULL,
[Name] nvarchar(max) NULL,
[EdcuationLevel] nvarchar(max) NULL,
[EducationLevel] nvarchar(max) NULL,
[FavoriteToy] nvarchar(max) NULL,
CONSTRAINT [PK_Animals] PRIMARY KEY ([Id])
);
Expand All @@ -734,7 +734,7 @@ CREATE TABLE [Pets] (

CREATE TABLE [Cats] (
[Id] int NOT NULL,
[EdcuationLevel] nvarchar(max) NULL,
[EducationLevel] nvarchar(max) NULL,
CONSTRAINT [PK_Cats] PRIMARY KEY ([Id]),
CONSTRAINT [FK_Cats_Animals_Id] FOREIGN KEY ([Id]) REFERENCES [Animals] ([Id]) ON DELETE NO ACTION,
CONSTRAINT [FK_Cats_Pets_Id] FOREIGN KEY ([Id]) REFERENCES [Pets] ([Id]) ON DELETE NO ACTION
Expand Down Expand Up @@ -770,7 +770,7 @@ public class Pet : Animal
[Table("Cats")]
public class Cat : Pet
{
public string EdcuationLevel { get; set; }
public string EducationLevel { get; set; }
}

[Table("Dogs")]
Expand Down