I'm looking for a way to draw or create a schema for SQLite and based on it, generate the tables.
I'm doing a WPF application using C# and Visual Studio 2022.
What are the most common ways to do that?
Thank you in advance!
I'm looking for a way to draw or create a schema for SQLite and based on it, generate the tables.
I'm doing a WPF application using C# and Visual Studio 2022.
What are the most common ways to do that?
Thank you in advance!
The most popular way is probably to use entityframework, You can use code first approach to write your domain classes and generate tables from these. Be aware that there is both EF and EF core, the later for .Net core+, and the version numbers overlap.
You can also use EF with a database first design, create your tables in SQLite, and generate domain classes from this.
But you do not need to use an Object relational mapper. You can just create tables and SQL by hand. But this seem to be less common today.