Example #1
0
 public bool SaveContentData(Table_Content item)
 {
     try
     {
         _dbEngine.CmtvDBContext.Content_items.InsertOnSubmit(item);
         _dbEngine.CmtvDBContext.SubmitChanges();
     }
     catch (Exception)
     {
         return false;
     }
     return true;
 }
Example #2
0
 private void ContentRemove(Table_Content a)
 {
     a.Service = null;
 }
Example #3
0
 private void ContentRemove(Table_Content a)
 {
     a.Service = null;
 }
Example #4
0
 private void ContentAdd(Table_Content a)
 {
     a.Service = this;
 }
Example #5
0
 private void ContentAdd(Table_Content a)
 {
     a.Service = this;
 }