Esempio n. 1
0
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool UpdateByID(M_MisType model)
 {
     return(Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), model.GetFieldAndPara(), model.GetParameters()));
 }
Esempio n. 2
0
 /// <summary>
 /// 添加
 /// </summary>
 public int insert(M_MisType model)
 {
     return(Sql.insert(strTableName, model.GetParameters(), model.GetParas(), model.GetFields()));
 }