Welcome to Xamarin Guy Show Blog

Keep updated for latest and Greatest Posts from Xamarin guy

Dotnet MAUI One To One Relation SQLITE PCL Database

We will be adding this 3 packages inside our project

<PackageReference Include="sqlite-net-pcl" Version="1.9.172" />
<PackageReference Include="SQLiteNetExtensions.Async" Version="2.1.0" />
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.2" />




App.xaml.cs

App.xaml

PersonPage.xaml

PersonPage.xaml.cs

PersonViewModel.cs

Now we will create 2 tables Person and Password Tables

Person.cs

Password.cs

UserDatabase.cs

Full source code

Leave a Reply

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.