コード例 #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);
        }
コード例 #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);
        }
コード例 #3
0
 public bool Destroy(object Id)
 {
     return(DynamicValue.Destroy(Id) == 1);
 }
コード例 #4
0
 public bool Delete(object Id)
 {
     return(DynamicValue.Delete(Id) == 1);
 }