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