Esempio n. 1
0
        public object GetValue(XDataField xf, params object[] keyValues)
        {
            _CheckKeyField();
            string strWhere = GetKeyConditionString(true, keyValues);
            string sSql     = "Select " + xf.NameStr() + " from " + this.ViewName + strWhere;

            return(this.GetValue(sSql));
        }
Esempio n. 2
0
        public object GetMinKey(XDataField xf, object objWhere)
        {
            string sSql = "Select Min(" + xf.NameStr() + ") from " + this.ViewName + GetWhereStr(objWhere);

            return(this.GetValue(sSql));
        }