Beispiel #1
0
        public override void SetExtentArguments(string arguments)
        {
            ExtendParamsCollection extendParams = new ExtendParamsCollection(arguments);

            if (extendParams["CompatibleSQL92"] != null)
            {
                if (extendParams["CompatibleSQL92"].ToLower() == "false")
                {
                    AccessCommandFactory accessFactory = _factory as AccessCommandFactory;
                    accessFactory.UseAccessWildcards();
                }
            }

            if (extendParams["TimeOut"] != null)
            {
                int timeout;
                if (int.TryParse(extendParams["TimeOut"], out timeout))
                {
                    CommandTimeOut = timeout;
                }
            }
        }
Beispiel #2
0
 public Access()
 {
     _factory = new AccessCommandFactory(this);
 }