Пример #1
0
        public BaseBenchmark()
        {
            sql = SqlBuilder.Register(new SqlBuilder());
            SqlExp.Initialize();

            engine = GetEngine(GetTableBuilder());
        }
        public SqlBuilderFixture()
        {
            ISqlBuilder sql = SqlBuilder.Register(new SqlBuilder());

            SqlBuilder.Register(sql, true);
            SqlExp.Initialize();
        }
Пример #3
0
        public BaseTest()
        {
            TableBuilder tableBuilder = new TableBuilder()
                                        .Add <Person>()
                                        .Add <Department>();

            engine = new Engine(tableBuilder);

            if (SqlBuilder.Instance == null)
            {
                SqlBuilder.Register(new SqlBuilder(), true);
                SqlExp.Initialize();
            }

            sql = SqlBuilder.Instance;
        }
 public SqlBuilderFixture()
 {
     SqlBuilder.Register(new SqlBuilder());
     SqlExp.Initialize();
 }