public void Insert(Guid WtpId, Guid?UserID, string WtpName, string WtpTemplate, string WtpXMLTemplate, bool WtpExplicitInserted)
        {
            HitblWidgetTemplatesWtp item = new HitblWidgetTemplatesWtp();

            item.WtpId = WtpId;

            item.UserID = UserID;

            item.WtpName = WtpName;

            item.WtpTemplate = WtpTemplate;

            item.WtpXMLTemplate = WtpXMLTemplate;

            item.WtpExplicitInserted = WtpExplicitInserted;


            item.Save(UserName);
        }
 public bool Destroy(object WtpId)
 {
     return(HitblWidgetTemplatesWtp.Destroy(WtpId) == 1);
 }