Mert Özen Further With Every Line

Blog

Mert Özen's blog posts on software development, backend, frontend, and DevOps.

Series
28 posts found #veritabani
Data Annotations or Fluent API in EF Core? OnModelCreating and IEntityTypeConfiguration
Database PART 04

Data Annotations or Fluent API in EF Core? OnModelCreating and IEntityTypeConfiguration

We put the two ways of overriding conventions side by side: data annotations and the Fluent API in OnModelCreating. We split configuration with IEntityTypeConfiguration and ApplyConfigurationsFromAssembly, test unique indexes, check constraints and default values against real SQLite errors, and see the precedence order and the bool default trap.

5 Nov 2026 9 min 3
Model and Conventions in EF Core: Keys, Nullability, Column Types and Shadow Properties
Database PART 03

Model and Conventions in EF Core: Keys, Nullability, Column Types and Shadow Properties

We read how EF Core builds its model from real schema output: the key convention, NOT NULL and NULL columns with NRT, SQLite and SQL Server column types, the decimal warning, temporary keys and Guid generation, where table names come from, and the shadow foreign key EF Core adds on its own.

5 Nov 2026 9 min 2
Your First EF Core App: DbContext, DbSet, SQLite and the Generated SQL
Database PART 02

Your First EF Core App: DbContext, DbSet, SQLite and the Generated SQL

We build the first EF Core app from an empty console project: the SQLite and Design packages, dotnet-ef as a local tool, DbContext and DbSet, OnConfiguring, EnsureCreated, the first insert and query, real SQL via LogTo and ToQueryString, and the SQL differences between EF Core 6 and 10.

5 Nov 2026 10 min 2
What Is Entity Framework Core? The ORM Idea and EF Core's Architecture
Database PART 01

What Is Entity Framework Core? The ORM Idea and EF Core's Architecture

Starting from plain ADO.NET code we see why ORMs exist: EF Core's DbContext, model, provider and change tracker, the different SQL SQLite and SQL Server generate from the same LINQ, EF6 versus EF Core, a Dapper comparison and how the series is organized.

5 Nov 2026 9 min 2
Blog Map