Example #1
0
        public void SetOption(EDPOption option, string value)
        {
            if (option == null)
            {
                throw new ArgumentNullException("option");
            }

            EnsureOpenConnection();
            connection.SetOption(option.Value, value);
        }
Example #2
0
        public string GetOptionValue(EDPOption option)
        {
            if (option == null)
            {
                throw new ArgumentNullException("option");
            }

            EnsureOpenConnection();
            return(connection.GetOptionValue(option.Value));
        }