예제 #1
0
 public static bool Insert(DTOWallComment obj)
 {
     Cls.CreateNewSqlCommand();
     Cls.AddParameter("Wall_ID", obj.Wall_ID);
     Cls.AddParameter("AccountID", obj.AccountID);
     Cls.AddParameter("Content", obj.Content);
     return(Cls.ExecuteNonQuery("sp_WallComment_Insert"));
 }
예제 #2
0
 public static bool Delete(DTOWallComment obj)
 {
     Cls.CreateNewSqlCommand();
     Cls.AddParameter("WallComment_ID", obj.WallComment_ID);
     return(Cls.ExecuteNonQuery("sp_WallComment_Delete"));
 }