An open API service indexing awesome lists of open source software.

https://github.com/ssulaimanw345/efcore-features


https://github.com/ssulaimanw345/efcore-features

csharp efcore fluent-api

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# EFCore Features 🚀

Welcome to **EFCore Features**, a repository dedicated to understanding and experimenting with various **Entity Framework Core (EF Core)** features. This repository contains practical code examples that demonstrate how to effectively use EF Core in real-world applications.

## 📌 Features Explored

- **Migrations** – Manage database schema changes with EF Core migrations.
- **Data Model Annotations** – Use attributes to configure entity properties.
- **Fluent API** – Configure the EF Core model programmatically.
- **Fluent Configuration** – Separate entity configurations for better maintainability.
- **Data Seeding** – Prepopulate the database with initial data.
- **LINQ Operators** – Utilize powerful LINQ operators for querying.
- **LINQ Queries** – Write expressive LINQ queries for efficient data retrieval.

## 📚 Official Microsoft Documentation

For a deeper understanding of EF Core, check out these official Microsoft resources:
- [Entity Framework Core Overview](https://learn.microsoft.com/en-us/ef/core/)
- [EF Core Migrations](https://learn.microsoft.com/en-us/ef/core/managing-schemas/migrations/)
- [Fluent API Configurations](https://learn.microsoft.com/en-us/ef/core/modeling/)
- [LINQ Queries in EF Core](https://learn.microsoft.com/en-us/ef/core/querying/)

## 🚀 Getting Started

Clone the repository and explore the examples:
```bash
git clone https://github.com/SSulaimanW345/efcore-features.git
cd EFCore