Beispiel #1
0
        public void Insert(string SFileName, string SFilePath, byte[] Data)
        {
            var item = new TblImgAndIcon();

            item.SFileName = SFileName;

            item.SFilePath = SFilePath;

            item.Data = Data;


            item.Save(UserName);
        }
Beispiel #2
0
        public void Update(int Id, string SFileName, string SFilePath, byte[] Data)
        {
            var item = new TblImgAndIcon();

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

            item.Id = Id;

            item.SFileName = SFileName;

            item.SFilePath = SFilePath;

            item.Data = Data;

            item.Save(UserName);
        }