Beispiel #1
0
 public int Insert(M_OA_BC model)
 {
     return(Sql.insert(strTableName, model.GetParameters(model), model.GetParas(), model.GetFields()));
 }
Beispiel #2
0
 /// <summary>
 /// 更新记录
 /// </summary>
 public bool UpdateByID(M_OA_BC model)
 {
     return(Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), model.GetFieldAndPara(), model.GetParameters(model)));
 }