Exemplo n.º 1
0
        public void CreateSession()
        {
            Database.SetInitializer(new MigrateDatabaseToLatestVersion <TransactionDatabase, Configuration>());

            if (_connection == null)
            {
                _connection = new TransactionDatabase();
            }
        }
        public void CreateSession()
        {

            Database.SetInitializer(new MigrateDatabaseToLatestVersion<TransactionDatabase, Configuration>());

            if (_connection == null)
            {
                _connection = new TransactionDatabase();
            }
        }