Welcome to Xamarin Guy Show Blog

Keep updated for latest and Greatest Posts from Xamarin guy

Month: September 2024

Dotnet MAUI Many To Many Relation SQLITE PCL Database

Benefits of Using [ManyToMany] with a Junction Table Flexibility: Both classrooms and students can be associated with multiple records. This allows for real-world scenarios where a student can attend multiple classes, and a class can have multiple students. Efficient Data Management: Instead of duplicating data (e.g., storing a list of students inside each classroom record

Dotnet MAUI One To Many Relation SQLITE PCL Database

Simple Example : Think of a classroom like a group of students. Each group (or classroom) can have multiple students. For example, “Class A” can have Alice, Bob, and Emma as students. But Alice only belongs to “Class A” — she can’t be in “Class B” at the same time. We will be adding this

Dotnet MAUI One To One Relation SQLITE PCL Database

We will be adding this 3 packages inside our project 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 Post Views: 118

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.