Ejemplo n.º 1
0
        public EfSteps(DatabaseTestContext testContext)
        {
            _testContext = testContext;
            var dbModelBuilder = new DbModelBuilder();
            dbModelBuilder.Entity<SimpleBenchmarkEntity>();

            var dbModel = dbModelBuilder.Build(new DbProviderInfo("System.Data.SqlClient", "2012"));
            _compiledModel = dbModel.Compile();
        }
Ejemplo n.º 2
0
        //private static string OriginalDatabaseFolder = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "App_Data");
        //private static string FinalDatabaseFolder = Path.Combine(OriginalDatabaseFolder, $"FastCrudDatabaseTests");

        public DatabaseSteps(DatabaseTestContext testContext)
        {
            this._testContext = testContext;
        }
Ejemplo n.º 3
0
 public CrudSteps(DatabaseTestContext testContext)
 {
     _testContext = testContext;
     Assert.NotNull(OrmConfiguration.GetDefaultEntityMapping<Employee>());
 }
Ejemplo n.º 4
0
 public FastCrudTests(DatabaseTestContext testContext)
 {
     _testContext = testContext;
 }
Ejemplo n.º 5
0
 public DapperSteps(DatabaseTestContext testContext)
 {
     _testContext = testContext;
 }
 public DapperExtensionsSteps(DatabaseTestContext testContext)
 {
     _testContext = testContext;
 }
 public SimpleCrudSteps(DatabaseTestContext testContext)
 {
     _testContext = testContext;
 }