public int insert(M_Spec model) { return(Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public bool UpdateByID(M_Spec model) { return(Sql.UpdateByIDs(strTableName, PK, model.SpecID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters())); }