示例#1
0
        public static DEVICE_STATUS Get(int primaryKeyId, string tableName)
        {
            Hashtable inparam = new Hashtable();

            inparam.Add("GPSIndex", primaryKeyId);
            inparam.Add("tableName", tableName);
            return(BaseDA.QueryForObject <DEVICE_STATUS>("SelectDEVICE_STATUSById", inparam));
        }
示例#2
0
 public static int GetNewId()
 {
     return(BaseDA.QueryForObject <int>("SelectUSERMaxID", null));
 }