Creating SQLite table foreign key relationship using .Net MAUI

salilsingh-9961 351 Reputation points
2023-12-31T15:13:50.6166667+00:00

Hi Team,

I am working on a .Net MAUI app (in Visual Studio 2022), Android emulator used is Pixel 5 API 33.

I need to create a SQLite table using a class in C#. Table needs to be created for an object, inside the object class there is a list of another object. I know how to create a C# class which is not having a list of different class objects in it.

But how to create a C# classes in this case where first class contains a list of objects of a second class.

Please let me know if i need to explain more on this.

Thanks,

Salil

Azure SQL Database
Developer technologies | .NET | .NET MAUI
{count} votes

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.