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