Data Persistence

RoverCore utilizes Entity Framework for data persistence. Entity Framework Core is a modern object-database mapper for .NET.

Entity Framework is a very large topic. In this section, we will be going over the basics of EF Core. For more information, please visit Entity Framework Documentation.

What is Entity Framework (EF Core)?

Why use it?

How do I use it?


Creating Entities

Learn more about how to create your own data models in RoverCore.

Model Attributes

Learn more about decorating models with attributes to secure your data.

Seeding Data

Learn how to setup your database with preset data for you to use.

Working with the Database

Learn about migrations and why they are important.

Last modified March 13, 2022: Added the entire seeder code (f8c545e)