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); }
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); }
public bool Destroy(object PkIntID) { return(SysVersion.Destroy(PkIntID) == 1); }
public bool Delete(object PkIntID) { return(SysVersion.Delete(PkIntID) == 1); }