Beispiel #1
0
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool UpdateByID(M_BossInfo model)
 {
     return(Sql.UpdateByIDs(strTableName, PK, model.nodeid.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters(model)));
 }
Beispiel #2
0
 public int insert(M_BossInfo model)
 {
     return(Sql.insert(strTableName, model.GetParameters(model), BLLCommon.GetParas(model), BLLCommon.GetFields(model)));
 }