public void DeleteByFormFieldId(int FormFieldId) { DataAccessLayer.DataAccessComponents.DataAccessComponent DAC = new DataAccessLayer.DataAccessComponents.DataAccessComponent("",""); DAC.EXQuery("Delete From FormBuilder.FormFieldColumn where FormFieldId = " + FormFieldId); }
public void Delete(string ids, string questionId) { DataAccessLayer.DataAccessComponents.DataAccessComponent c = new DataAccessLayer.DataAccessComponents.DataAccessComponent(); c.EXQuery(String.Format("Delete From FormBuilder.FormFieldValue Where FormFieldValueId Not In({0}) and FormFieldId = {1}", ids, questionId)); }
public void Delete(string questionIds, string surveyId) { DataAccessLayer.DataAccessComponents.DataAccessComponent DAC = new DataAccessLayer.DataAccessComponents.DataAccessComponent(); DAC.EXQuery(String.Format("Delete From FormBuilder.FormField where FormFieldId Not In({0}) AND FormDocumentId = {1}", questionIds, surveyId)); }
public void Delete(string ids,int HomePageGroupID) { DataAccessLayer.DataAccessComponents.DataAccessComponent dac = new DataAccessLayer.DataAccessComponents.DataAccessComponent("",""); dac.EXQuery("Delete From ContentManagement.HomePage where HomePageGroupID = " + HomePageGroupID + " and HomePageID Not In(" + ids + ")"); }
public void DeleteByFormFieldId(int FormFieldId) { DataAccessLayer.DataAccessComponents.DataAccessComponent DAC = new DataAccessLayer.DataAccessComponents.DataAccessComponent(); DAC.EXQuery("Delete From FormBuilder.FormFieldColumn where FormFieldId = " + FormFieldId); }
public void Delete(string questionIds, string surveyId) { DataAccessLayer.DataAccessComponents.DataAccessComponent DAC = new DataAccessLayer.DataAccessComponents.DataAccessComponent("",""); DAC.EXQuery(String.Format("Delete From FormBuilder.FormField where FormFieldId Not In({0}) AND FormDocumentId = {1}", questionIds, surveyId)); }
public void Delete(string ids, string questionId) { DataAccessLayer.DataAccessComponents.DataAccessComponent c = new DataAccessLayer.DataAccessComponents.DataAccessComponent("",""); c.EXQuery(String.Format("Delete From FormBuilder.FormFieldValue Where FormFieldValueId Not In({0}) and FormFieldId = {1}", ids, questionId)); }