Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public ProvedorBanco(IProvedorConexao provedorConexao)
 {
     this.provedorConexao = provedorConexao;
 }