public static void Delete(HelpCommand cmd)
 {
     try
     {
         Help.HelpCommands.DeleteObject(cmd);
         Help.SaveChanges();
     }
     catch (Exception e)
     {
         UtilityMethods.Print("Error occured in the deleting method - " + e.InnerException.Data + e.InnerException + e.InnerException.Source + e.InnerException.Message + e.InnerException.StackTrace,true);
     }
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the HelpCommands EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHelpCommands(HelpCommand helpCommand)
 {
     base.AddObject("HelpCommands", helpCommand);
 }
 /// <summary>
 /// Create a new HelpCommand object.
 /// </summary>
 /// <param name="helpName">Initial value of the HelpName property.</param>
 /// <param name="helpText">Initial value of the HelpText property.</param>
 public static HelpCommand CreateHelpCommand(global::System.String helpName, global::System.String helpText)
 {
     HelpCommand helpCommand = new HelpCommand();
     helpCommand.HelpName = helpName;
     helpCommand.HelpText = helpText;
     return helpCommand;
 }