CreateSession() public method

public CreateSession ( ) : PostgresSession
return PostgresSession
示例#1
0
        public PostgresTest()
        {
            Cleanup();

            _store = new PostgresStore(PostgresConfig.ConnectionString);
            _session = _store.CreateSession();
        }
示例#2
0
        public PostgresTest()
        {
            Cleanup();

            Console.WriteLine("Postgres Connection: " + PostgresConfig.ConnectionString);

            _store = new PostgresStore(PostgresConfig.ConnectionString);
            _session = _store.CreateSession();
        }