Skip to content

Latest commit

 

History

History

Switches_efcore

About

An exploration into a conventional wwitch statement and expression bodied members in C# 8 and C# 9 with Entity Framework Core 5 along with writing efficient queries.

Requires

  • Microsoft Visual Studio 2019
  • .NET 5 Framework
  • C# 9 (mixure of former versions are used also) to run

screen

Notes

These two methods are used to get desired results although the second method should be avoided.

  • 💚 SchoolOperations.GradesForPeople (correct)
  • 💛 SchoolOperations.StudentsForCourse (incorrect but works)