public void Insert(string PackageType, byte[] Ts)
        {
            PackageTypeTable item = new PackageTypeTable();

            item.PackageType = PackageType;

            item.Ts = Ts;


            item.Save(UserName);
        }
        public void Update(int PackageTypeID, string PackageType, byte[] Ts)
        {
            PackageTypeTable item = new PackageTypeTable();

            item.MarkOld();
            item.IsLoaded = true;

            item.PackageTypeID = PackageTypeID;

            item.PackageType = PackageType;

            item.Ts = Ts;

            item.Save(UserName);
        }
 public bool Destroy(object PackageTypeID)
 {
     return(PackageTypeTable.Destroy(PackageTypeID) == 1);
 }
 public bool Delete(object PackageTypeID)
 {
     return(PackageTypeTable.Delete(PackageTypeID) == 1);
 }