Errata: April 10, 2019

Thank you for purchasing Entity Framework Core in Action . Please report errors not shown below in the book's LiveBook Errata thread. We'll update this list as necessary. Thank you!


Section 1.2, page 6

The link with text "https://github.com/JonPSmith/GenericServices" in the PDF has an underlying link of http://www. mng.bz/2x0T. That should be replaced with https://github.com/JonPSmith/GenericServices.

Section 3.2.2, page 61.

The sentence "If the linked instances are new (not already known to EF Core), EF Core will track them and set their State to New." This should read "If the linked instances are new (not already known to EF Core), EF Core will track them and set their State to Added."

Section 5.4.2, page 122, Listing 5.2.

//... other service defintions removed

The word definitions is misspelled.

//... other service definitions removed

Section 6.8, pages 159 and 160.

There is one occurrence on page 159 and two occurrences on page 160 where [Column(DataType = should read [Column(TypeName =.

Section 7.4.3, page 179.

The line Property(nameof(DefaultEntity.Name)) in listing 8.8

should be

Property(nameof(DefaultTest.Name)).

Section 8.4.3, page 218, Listing 8.8.

Property(nameof(DefaultEntity.Name)).CurrentValue;

should be

Property(nameof(DefaultTest.Name)).CurrentValue;

Section 9.3.2, page 243, Figure 9.4.

The last line of code in the blue box should be "context.Remove(myEntity);" not "context.Update(myEntity);".

NOTE: The livebook is correct as it uses my original diagram.

LiveBook only: https://forums.manning.com/posts/list/43880.page

These are ones you can correct yourself. I have checked every livebook error and the following are still incorrect (as of 15th Jan 2019).

https://forums.manning.com/posts/list/43880.page#p123740
Listing 10.8, tooltip #A has no content.
https://forums.manning.com/posts/list/43880.page#p123763
s Listing 10.9, the tooltip #A contains all the tooltips.
https://forums.manning.com/posts/list/43880.page#p123765
Listing 10.10, tooltip #F has no content
https://forums.manning.com/posts/list/43880.page#p123828
Listing 11.1 has no Tooltip #B. This is because there is a missing newline which means the next line obscures the //#B