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