Kosmic Horror
❔ What's the best scope of a model in MAUI?
This is my first .NET MAUI project. I'm trying to use SQLite with sqlite-net-pcl. My instinct is to make a model a functional unit, but that would span multiple tables. sqlite-net-pcl workflow seems to create tables from models, so should my models be single table items? Or should I define tables in their own files using the property tags and keep them separate from my models for display? Or just manually define the database using raw SQL?
2 replies