Esempio n. 1
0
 protected override void TearDown()
 {
     var simplests = new SimplestsCollection();
     simplests.LoadAll();
     simplests.MarkAllAsDeleted();
     simplests.Save();
 }
Esempio n. 2
0
        protected override void TearDown()
        {
            var simplests = new SimplestsCollection();

            simplests.LoadAll();
            simplests.MarkAllAsDeleted();
            simplests.Save();
        }
Esempio n. 3
0
        protected override void DeleteMultipleTest()
        {
            var simplests = new SimplestsCollection();

            simplests.LoadAll();
            simplests.MarkAllAsDeleted();
            simplests.Save();
        }
Esempio n. 4
0
    protected override void Setup()
    {
      var conn = new esConnectionElement();
      conn.ConnectionString = @"Data Source=.;Initial Catalog=PerformanceTest;Integrated Security=True;Pooling=True;MultipleActiveResultSets = true";
      conn.Name = "PerformanceTest";
      conn.Provider = "EntitySpaces.SqlClientProvider";
      conn.ProviderClass = "DataProvider";
      conn.SqlAccessType = esSqlAccessType.DynamicSQL;
      conn.ProviderMetadataKey = "esDefault";
      conn.DatabaseVersion = "2005";

      esConfigSettings.ConnectionInfo.Connections.Add(conn);
      esConfigSettings.ConnectionInfo.Default = "PerformanceTest";

      esProviderFactory.Factory = new EntitySpaces.LoaderMT.esDataProviderFactory();
      var simplests = new SimplestsCollection();
      simplests.LoadAll();
      simplests.MarkAllAsDeleted();
      simplests.Save();
    }
Esempio n. 5
0
        protected override void Setup()
        {
            var conn = new esConnectionElement();

            conn.ConnectionString =
                @"Data Source=.;Initial Catalog=PerformanceTest;Integrated Security=True;Pooling=True;MultipleActiveResultSets = true";
            conn.Name                = "PerformanceTest";
            conn.Provider            = "EntitySpaces.SqlClientProvider";
            conn.ProviderClass       = "DataProvider";
            conn.SqlAccessType       = esSqlAccessType.DynamicSQL;
            conn.ProviderMetadataKey = "esDefault";
            conn.DatabaseVersion     = "2005";

            esConfigSettings.ConnectionInfo.Connections.Add(conn);
            esConfigSettings.ConnectionInfo.Default = "PerformanceTest";

            esProviderFactory.Factory = new EntitySpaces.LoaderMT.esDataProviderFactory();
            var simplests = new SimplestsCollection();

            simplests.LoadAll();
            simplests.MarkAllAsDeleted();
            simplests.Save();
        }
Esempio n. 6
0
 protected override void DeleteMultipleTest()
 {
     var simplests = new SimplestsCollection();
     simplests.LoadAll();
     simplests.MarkAllAsDeleted();
     simplests.Save();
 }