Eduard
Eduard
CC#
Created by Eduard on 3/25/2024 in #help
✅ Preferred method structure when working with databases?
Hey guys, I am creating a library that will work with a local SQLite database. The manager stores a connection and provides the functionality to create SQL commands, but it should also have access to CRUD methods (+ some others) for different tables. It seems impractical to just dump it into a single class file. Is it a good practice to create a class (for each table) with extension methods for the manager class, and these will implement the execution of SQL queries?
12 replies