Ejemplo n.º 1
0
        public bool update(Model.systemcheckset systemchecksetmodel)
        {
            string contion   = string.Format("systemname='{0}'", systemchecksetmodel.systemname);
            string sql       = string.Format("id='{0}',count='{1}',arry='{2}',boundaryvalue='{3}',throwvalue='{4}',comment='{5}'", systemchecksetmodel.id, systemchecksetmodel.count, systemchecksetmodel.arry, systemchecksetmodel.boundaryvalue, systemchecksetmodel.throwvalue, systemchecksetmodel.comment);
            string tablename = typeof(systemcheckset).Name;

            return(ServerHelp.updateByWhere(tablename, _webip, contion, sql));
        }
Ejemplo n.º 2
0
 public bool add(Model.systemcheckset systemchecksetmodel)
 {
     return(ServerHelp.addSingleInfoNotReturnID <systemcheckset>(systemchecksetmodel, _webip));
 }
 public bool add(Model.systemcheckset systemchecksetmodel)
 {
     throw new NotImplementedException();
 }