Beispiel #1
0
 /// <summary>
 /// Saves the current record to the database.
 /// </summary>
 /// <param name="tx">Optional transaction</param>
 /// <returns>Wether the operation was successful</returns>
 public override bool Save(System.Data.IDbTransaction tx = null)
 {
     if (IsBlock)
     {
         Subpages = false;
     }
     else
     {
         BlockTypes.Clear();
     }
     return(base.Save(tx));
 }