예제 #1
0
 public void DeletePublicDesign(int Id)
 {
     using (var db = new LTCDataModel.PetaPoco.Database(DbConfiguration.LtcForm))
     {
         db.Delete("form_public", "FormID", new gPublicFormModel {
             FormID = Id
         });
     }
 }
예제 #2
0
 public void DeletePublicTags(int Id)
 {
     using (var db = new LTCDataModel.PetaPoco.Database(DbConfiguration.LtcForm))
     {
         db.Delete("form_tag_public", "TagID", new gFormPublicTag {
             TagID = Id
         });
     }
 }