コード例 #1
0
ファイル: CommentBE.cs プロジェクト: Blitzman/ProjectShode
 /// <summary>
 /// Comment Deletion.
 /// If the comment exists, it deletes the current comment from 
 /// the database using the comment data access component.
 /// </summary>
 public void delete()
 {
     CommentDAC commentDAC = new CommentDAC();
     commentDAC.deleteComment(this);
 }
コード例 #2
0
ファイル: CommentBE.cs プロジェクト: Blitzman/ProjectShode
 /// <summary>
 /// Comment Update.
 /// Uses the comment data access component to update the register
 /// of the database which holds the current comment data with
 /// the actual information.
 /// </summary>
 public void update()
 {
     CommentDAC commentDAC = new CommentDAC();
     commentDAC.update(this);
 }
コード例 #3
0
ファイル: CommentBE.cs プロジェクト: Blitzman/ProjectShode
 // /////////////////////////////////////////////////////////////////////
 // Methods /////////////////////////////////////////////////////////////
 // /////////////////////////////////////////////////////////////////////
 /// <summary>
 /// Comment Creation.
 /// Uses the comment data access component to insert the current
 /// comment in the database.
 /// </summary>
 public void create()
 {
     CommentDAC commentDAC = new CommentDAC();
     commentDAC.insertComment(this);
 }