Esempio n. 1
0
        public void Update(decimal DataId, decimal TestId, int TestTypeId, decimal?DeviceId, string DataTest,
                           bool?Analysis, decimal?UserReceive, DateTime?UpdateDate)
        {
            var item = new TDataRaw();

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

            item.DataId = DataId;

            item.TestId = TestId;

            item.TestTypeId = TestTypeId;

            item.DeviceId = DeviceId;

            item.DataTest = DataTest;

            item.Analysis = Analysis;

            item.UserReceive = UserReceive;

            item.UpdateDate = UpdateDate;

            item.Save(UserName);
        }
Esempio n. 2
0
 public bool Destroy(object DataId)
 {
     return(TDataRaw.Destroy(DataId) == 1);
 }
Esempio n. 3
0
 public bool Delete(object DataId)
 {
     return(TDataRaw.Delete(DataId) == 1);
 }