Hello,
For the three-layer structure of database layer, infrastructure layer and app layer, most of the applicable scenarios are to provide API interfaces and persistence through cloud services.
In the MAUI program, you could refer to the following documents to import the local database.
If you have a server, you can encapsulate the database with persistence as a web API server and make an Http request via MAUI to fetch the data in it.
Is it correct to make database layer as another MAUI project in the solution
A database is a database project, for example, Sqllite is embedded in the program as a file as a local database. SQL Server or MySQL can be used as a remote database in the server.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.