I am using SQLite local database in my C# application (WPF).
Should not you open the database connection once and load all the data in the beginning (instead of opening the connection everytime you need a bit of data from the database)?
My question is where should that data be stored in the application.
Should I create a static class which contains all the information in multi-dimensional arrays or multi-dimensional lists. Or is there a better way to store the information?