public LivrariaContexto(IProvedorConexao provedorConexao) : base(new SQLiteConnection() { ConnectionString = provedorConexao.ConnectionString().ConnectionString }, true) { this.Database.Initialize(true); this.Configuration.LazyLoadingEnabled = false; this.Configuration.ProxyCreationEnabled = false; }
public ProvedorBanco(IProvedorConexao provedorConexao) { this.provedorConexao = provedorConexao; }