Abstract

In this chapter, we saw now the Entity Framework can be used to create a data model that lets us work with a database using C# data types and LINQ queries. Features such as navigation properties make working with the data much more like working with regular C# objects, and we don’t need to break out the SQL at any point. The Entity Framework can be used to create incredibly complex and sophisticated data models, and we have only scratched the surface with the model we used in this chapter, but even so, you can see how object-relational mapping can be performing using the Entity Framework and how LINQ to Entities can be used in place of SQL to query the underlying data.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.