示例#1
0
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool UpdateByID(M_School model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters(model)));
 }
示例#2
0
 public int GetInsert(M_School model)
 {
     return(Sql.insertID(TbName, model.GetParameters(model), BLLCommon.GetParas(model), BLLCommon.GetFields(model)));
 }