Exemplo n.º 1
0
        public void TestSetUp()
        {
            _sqlLiteBuilder = new SqlLiteBuilder();
            _session = _sqlLiteBuilder.GetSession();

            InsertTestData();

            _session.Flush();

            _session.Clear();

            _joinConfiguration = new JoinConfiguration
            {
                ExpressionBuilder = new ExpressionBuilder(new TreeModelCriteriaTypeRegistry()),
                QueryableProvider = new NHibernateQueryableProvider(_session),
                JoinPathRegistry = new EmptyJoinPathRegistry()
            };
        }
        public void TestSetUp()
        {
            _sqlLiteBuilder = new SqlLiteBuilder();
            _session = _sqlLiteBuilder.GetSession();

            InsertTestData();

            _session.Flush();

            _session.Clear();
        }