public bool AddSurvey(M_Survey m_Survey) { return(Sql.insertID(strTableName, initMod.GetParameters(m_Survey), BLLCommon.GetParas(m_Survey), BLLCommon.GetFields(m_Survey)) > 0); }
public int insert(M_Survey model) { return(Sql.insert(strTableName, initMod.GetParameters(model), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public bool UpdateSurvey(M_Survey m_Survey) { return(dal.UpdateSurvey(m_Survey)); }
public bool UpdateByID(M_Survey model) { return(Sql.UpdateByIDs(strTableName, PK, model.SurveyID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters(model))); }
public bool AddSurvey(M_Survey m_Survey) { return(dal.AddSurvey(m_Survey)); }