public void Insert(string SFileName, string SFilePath, byte[] Data)
        {
            SysImgAndIcon item = new SysImgAndIcon();

            item.SFileName = SFileName;

            item.SFilePath = SFilePath;

            item.Data = Data;


            item.Save(UserName);
        }
        public void Update(int Id, string SFileName, string SFilePath, byte[] Data)
        {
            SysImgAndIcon item = new SysImgAndIcon();

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

            item.Id = Id;

            item.SFileName = SFileName;

            item.SFilePath = SFilePath;

            item.Data = Data;

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