Jasen Gibson
Sep 8, 2018 · 1 min read

Another question: Would it be possible to only add the SQLite plugin to the common base project and then wrap all the database functionality in a data access class so they never get exposed? Then the platform specific projects would never instantiate any database objects, they’d just be calling the wrapped methods, maybe pulling the data out in structs or some other object. Would that actually work?
I guess the problem would be you’d not be able to use any direct data binding to controls by doing that. Or at least it would be too much converting of datasets back and forth into other objects.