예제 #1
0
        public void Insert(string SFileName, string SRarFileName, byte[] ObjData, string SVersion, short?IntRar, short?IntPatch, DateTime?TUpdatedDate, int?DblCapacity, string SDesc, byte?IsUpdate, string SFolder, byte?BytConfirmed)
        {
            SysVersion item = new SysVersion();

            item.SFileName = SFileName;

            item.SRarFileName = SRarFileName;

            item.ObjData = ObjData;

            item.SVersion = SVersion;

            item.IntRar = IntRar;

            item.IntPatch = IntPatch;

            item.TUpdatedDate = TUpdatedDate;

            item.DblCapacity = DblCapacity;

            item.SDesc = SDesc;

            item.IsUpdate = IsUpdate;

            item.SFolder = SFolder;

            item.BytConfirmed = BytConfirmed;


            item.Save(UserName);
        }
예제 #2
0
        public void Update(int PkIntID, string SFileName, string SRarFileName, byte[] ObjData, string SVersion, short?IntRar, short?IntPatch, DateTime?TUpdatedDate, int?DblCapacity, string SDesc, byte?IsUpdate, string SFolder, byte?BytConfirmed, long?Tick)
        {
            SysVersion item = new SysVersion();

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

            item.PkIntID = PkIntID;

            item.SFileName = SFileName;

            item.SRarFileName = SRarFileName;

            item.ObjData = ObjData;

            item.SVersion = SVersion;

            item.IntRar = IntRar;

            item.IntPatch = IntPatch;

            item.TUpdatedDate = TUpdatedDate;

            item.DblCapacity = DblCapacity;

            item.SDesc = SDesc;

            item.IsUpdate = IsUpdate;

            item.SFolder = SFolder;

            item.BytConfirmed = BytConfirmed;

            item.Tick = Tick;

            item.Save(UserName);
        }
예제 #3
0
 public bool Destroy(object PkIntID)
 {
     return(SysVersion.Destroy(PkIntID) == 1);
 }
예제 #4
0
 public bool Delete(object PkIntID)
 {
     return(SysVersion.Delete(PkIntID) == 1);
 }