Ejemplo n.º 1
0
        public MasterSlaveTest(ITestOutputHelper output, TestStartupFixture fixture)
        {
            Output   = output;
            Services = fixture.Services;
            Context  = Services.GetRequiredService <IResolveContext>();

            DapperMaster = Context.ResolveDapper("master_slave");
            DapperSlave  = Context.ResolveDapper("master_slave", true);
        }
Ejemplo n.º 2
0
 public QueryTest(ITestOutputHelper output, TestStartupFixture fixture)
 {
     Output   = output;
     Services = fixture.Services;
     Dapper   = Services.GetService <IDapper>();
 }