using System; using System.Collections.Generic; namespace OSI.API.DAL.Base { public abstract class DAOBase : MySQL { protected DAOBase(DBConnectionInformation connectionInformation) : base(connectionInformation) { } protected DAOBase(string server, string database, string username, string password) : base(server, database, username, password) { } public abstract List GetAll(); public abstract T Get(int id); public abstract void Create(T itemToCreate); public abstract void Update(T itemToUpdate); public abstract void Delete(int id); } }