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