コード例 #1
0
 public bool DeleteContent(ViewModel.tblContent content)
 {
     return(sqlHelper.RunProcedure("sp_tblContent_DeleteRow", content, true) > 0);
 }
コード例 #2
0
 public bool UpdatepopupForContent(ViewModel.tblContent content)
 {
     return(sqlHelper.RunProcedure("sp_UpdatePopupForContent", "") > 0);
 }
コード例 #3
0
 public bool UpdateContentPicUrl(ViewModel.tblContent content)
 {
     return(sqlHelper.RunProcedure("sp_tblContent_UpdatePicUrl", content) > 0);
 }
コード例 #4
0
 public bool ToggleActivation(ViewModel.tblContent content)
 {
     return(sqlHelper.RunProcedure("sp_tblContent_ToggleActivation", content) > 0);
 }
コード例 #5
0
 public bool UnLikeContent(ViewModel.tblContent content)
 {
     return(sqlHelper.RunProcedure("sp_tblContent_UnLike", content) > 0);
 }
コード例 #6
0
 public bool AddContent(ViewModel.tblContent content)
 {
     return(sqlHelper.RunProcedure("sp_tblContent_Insert", content, true) > 0);
 }