Beispiel #1
0
 public void DeleteByFormFieldId(int FormFieldId)
 {
     DataAccessLayer.DataAccessComponents.DataAccessComponent DAC = new DataAccessLayer.DataAccessComponents.DataAccessComponent("","");
     DAC.EXQuery("Delete From FormBuilder.FormFieldColumn where FormFieldId = " + FormFieldId);
 }
Beispiel #2
0
 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));
 }
Beispiel #3
0
 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));
 }
Beispiel #4
0
 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);
 }
Beispiel #6
0
 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));
 }
Beispiel #7
0
 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));
 }