tabs ↹ over ␣ ␣ ␣ spaces

by Jiří {x2} Činčura

.NET Developer Conference 2025

7 Nov 2025 1 mins Presentations & Speaking

In about two weeks a .NET Developer Conference is going to happen in Köln. I’ll have one session Autoincrement (identity) is not the only option for primary keys.

Banner

A lot of applications is using “simple” autoincrement (identity) as a primary key. That’s not bad. But there are other options for generated primary keys and some might be even better for your application. I’ll show you some options, pros and cons and even apply that as a mapping for EF Core.

Profile Picture Jiří Činčura is .NET, C# and Firebird expert. He focuses on data and business layers, language constructs, parallelism, databases and performance. For almost two decades he contributes to open-source, i.e. FirebirdClient. He works as a senior software engineer for Microsoft. Frequent speaker and blogger at www.tabsoverspaces.com.