sqlite-net-pcl One to many. MAUI

Mrnin 26 Reputation points
2021-04-05T19:20:59.683+00:00

Hello, I wanted to use a SQL lite database. Soo I followed step by step your tutorial here: https://learn.microsoft.com/cs-cz/xamarin/get-started/quickstarts/database?pivots=windows .
I would like to use one to many annotation to create a relation between tables, but I am propably unable to do it with basic sqlite-net-pcl package. I found out, that many users use SQLiteNetExtensions to achive this goal, but I dont want to run into a problem, once we will have to port our xamarin apps to MAUI. Library SQLiteNetExtensions had last update from 2018 (3y ago). Is SQLiteNetExtensions library good for use nowadays ? Or do u recommend me to use EntityFramework ?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,645 questions
{count} votes

2 answers

Sort by: Most helpful
  1. ttirrell 1 Reputation point
    2021-08-10T19:27:52.757+00:00

    @Mrnin I have an enterprise application using Entity Framework with SQL Server and am working on mobile apps that I plan to use sqlite. Your mention of using Entity Framework with sqlite has me curious. How would you do that?


  2. Vladislav Antonyuk 1 Reputation point MVP
    2021-12-24T08:06:41.017+00:00
    0 comments No comments