Beispiel #1
0
        public void Insert(string Ma, string Giatri, string Rtf, long?IdChidinhchitiet, long?ImageId, string MaDoc)
        {
            DynamicValue item = new DynamicValue();

            item.Ma = Ma;

            item.Giatri = Giatri;

            item.Rtf = Rtf;

            item.IdChidinhchitiet = IdChidinhchitiet;

            item.ImageId = ImageId;

            item.MaDoc = MaDoc;


            item.Save(UserName);
        }
Beispiel #2
0
        public void Update(long Id, string Ma, string Giatri, string Rtf, long?IdChidinhchitiet, long?ImageId, string MaDoc)
        {
            DynamicValue item = new DynamicValue();

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

            item.Id = Id;

            item.Ma = Ma;

            item.Giatri = Giatri;

            item.Rtf = Rtf;

            item.IdChidinhchitiet = IdChidinhchitiet;

            item.ImageId = ImageId;

            item.MaDoc = MaDoc;

            item.Save(UserName);
        }