Entity Framework Core 8: Implementing Complex Type and DateOnly TimeOnly support features of Entity Framework Core 8 like
EntityFrameworkCore 8 (EF Core) is a popular Object Relational Mapping (ORM) technology for working with data access. Version-by-version, EF Core has introduced various features for developers. In this article, we will see and implement the following two features 1. Complex Types 2. DateOnly & TimeOnly Support Using Complex Type While working with the Code-First approach, several times, we need to use the nested data structure to group similar properties e.g. if we are creating entities for Employee, Person, Student, then The Address is the complex type we will need to store an Address for Employees, Persons, and Students. In this case, instead of having repeated properties for Addresses like Stree, City, etc., we can create an Address class with these properties, and then in the actual entity class, we can add a property of the type Address. Now in EFCore 8, this can be directly mapped with a table. The Table will be created with columns mapped with properties added in