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

            if (extendParams ["InnerPager"] != null)
            {
                if (extendParams ["InnerPager"].ToLower() == "true")
                {
                    InnerPager = true;
                }
            }

            if (extendParams ["TimeOut"] != null)
            {
                int timeout;
                if (int.TryParse(extendParams ["TimeOut"], out timeout))
                {
                    CommandTimeOut = timeout;
                }
            }

            if (extendParams ["RoundScale"] != null)
            {
                byte roundScale;
                if (byte.TryParse(extendParams ["RoundScale"], out roundScale))
                {
                    OracleCommandFactory oracleFactory = _factory as OracleCommandFactory;
                    oracleFactory.SetRoundScale(roundScale);
                }
            }
        }
Exemple #2
0
 public Oracle()
 {
     _factory = new OracleCommandFactory(this);
 }