Beispiel #1
0
 //------------Update
 public bool UpdateModel(M_IDC_DBList model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters(model)));
 }
Beispiel #2
0
 //-----------------Insert
 public int Insert(M_IDC_DBList model)
 {
     return(Sql.insert(TbName, model.GetParameters(model), BLLCommon.GetParas(model), BLLCommon.GetFields(model)));
 }