public void Insert(string BlockedReferralHostname, int?HostID)
        {
            BlockedReferral item = new BlockedReferral();

            item.BlockedReferralHostname = BlockedReferralHostname;

            item.HostID = HostID;


            item.Save(UserName);
        }
        public void Update(short BlockedReferralID, string BlockedReferralHostname, int?HostID)
        {
            BlockedReferral item = new BlockedReferral();

            item.BlockedReferralID = BlockedReferralID;

            item.BlockedReferralHostname = BlockedReferralHostname;

            item.HostID = HostID;

            item.MarkOld();
            item.Save(UserName);
        }
 public bool Destroy(object BlockedReferralID)
 {
     return(BlockedReferral.Destroy(BlockedReferralID) == 1);
 }
 public bool Delete(object BlockedReferralID)
 {
     return(BlockedReferral.Delete(BlockedReferralID) == 1);
 }