Exemple #1
0
        /// <summary>
        /// Creates the specified nv.
        /// </summary>
        /// <param name="nv">The nv.</param>
        /// <returns></returns>
        public static RowIdentity Create(NameValueCollection nv)
        {
            RowIdentity Identity = new RowIdentity();

            foreach (string key in nv.AllKeys)
            {
                Identity.AddWithRelation(ConditionRelation.AND, key, ConditionRelation.Equal, nv[key]);
            }
            return(Identity);
        }
Exemple #2
0
 /// <summary>
 /// 更新数据行
 /// </summary>
 /// <param name="tabName"></param>
 /// <param name="ID"></param>
 /// <param name="nv"></param>
 /// <returns></returns>
 public abstract ApiResult UpdateTableRow(string tabName, RowIdentity ID, Hashtable nv);