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