---
title: "Discussion on \"Entity Framework Core - Code First Approach\" | Hashnode"
description: "Discussion on \"Entity Framework Core - Code First Approach\". 1. What is Code First?\nIn the Code First approach, you write your C# classes (Entities) first, and EF Core creates the database tables based on those classes. Your code is the \"Source of Truth.\"\nIf you change your C# class (e.g., add a property), you..."
url: "https://hashnode.com/posts/entity-framework-core-code-first-approach/6947d86dcf2a4e7947e680ab"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Entity Framework Core - Code First Approach](https://eform.hashnode.dev/entity-framework-core-code-first-approach?utm_source=hashnode&utm_medium=feed)

1\. What is Code First? In the Code First approach, you write your C# classes (Entities) first, and EF Core creates the database tables based on those classes. Your code is the "Source of Truth." If you change your C# class (e.g., add a property), you...

Dec 21, 2025 · 4 min read · eform.hashnode.dev  
Read the article

-   [#efcore](https://hashnode.com/tag/efcore)
-   [#codefirstapproach](https://hashnode.com/tag/codefirstapproach)

## Written by

[Ashifur Rahaman](https://hashnode.com/@ashif-arsb)

@ashif-arsb

  
[View profile](https://hashnode.com/@ashif-arsb)

Be happy and shine

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
