using System.Data.Common; namespace SweetLib.Storage.Database { /// /// Provider for database connection. /// /// Specific type of the database connection. Must inherit . public interface IConnectionProvider where T : DbConnection { /// /// Gets an instance of a database connection. /// /// T GetConnection(); } }