示例#1
0
        public ConnectionTests()
        {
            m_server = new FakeMySqlServer();
            m_server.Start();

            m_csb = new MySqlConnectionStringBuilder
            {
                Server = "localhost",
                Port   = (uint)m_server.Port,
            };
        }
示例#2
0
		public FakeMySqlServerConnection(FakeMySqlServer server, int connectionId)
		{
			m_server = server ?? throw new ArgumentNullException(nameof(server));
			m_connectionId = connectionId;
		}