public void Update(decimal TestDetailId, decimal?TestId, decimal?PatientId, int?TestTypeId, DateTime?TestDate, string TestSequence, int?DataSequence, string TestResult, string NormalLevelW, string NormalLevel, string MeasureUnit, string ParaName, short ParaStatus, string Note, bool?PrintData, string Barcode, int?UpdateNum, string TestDataId, decimal?DeviceId, short?IsNormal, int?SentStatus, DateTime?TestDateCreated)
        {
            TResultDetail item = new TResultDetail();

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

            item.TestDetailId = TestDetailId;

            item.TestId = TestId;

            item.PatientId = PatientId;

            item.TestTypeId = TestTypeId;

            item.TestDate = TestDate;

            item.TestSequence = TestSequence;

            item.DataSequence = DataSequence;

            item.TestResult = TestResult;

            item.NormalLevelW = NormalLevelW;

            item.NormalLevel = NormalLevel;

            item.MeasureUnit = MeasureUnit;

            item.ParaName = ParaName;

            item.ParaStatus = ParaStatus;

            item.Note = Note;

            item.PrintData = PrintData;

            item.Barcode = Barcode;

            item.UpdateNum = UpdateNum;

            item.TestDataId = TestDataId;

            item.DeviceId = DeviceId;

            item.IsNormal = IsNormal;

            item.SentStatus = SentStatus;

            item.TestDateCreated = TestDateCreated;

            item.Save(UserName);
        }
        public void Update(decimal TestDetailId,decimal? TestId,decimal? PatientId,int? TestTypeId,DateTime? TestDate,string TestSequence,int? DataSequence,string TestResult,string NormalLevelW,string NormalLevel,string MeasureUnit,string ParaName,short ParaStatus,string Note,bool? PrintData,string Barcode,int? UpdateNum,string TestDataId,decimal? DeviceId,short? IsNormal,int? SentStatus,DateTime? TestDateCreated)
        {
            TResultDetail item = new TResultDetail();
            item.MarkOld();
            item.IsLoaded = true;

            item.TestDetailId = TestDetailId;

            item.TestId = TestId;

            item.PatientId = PatientId;

            item.TestTypeId = TestTypeId;

            item.TestDate = TestDate;

            item.TestSequence = TestSequence;

            item.DataSequence = DataSequence;

            item.TestResult = TestResult;

            item.NormalLevelW = NormalLevelW;

            item.NormalLevel = NormalLevel;

            item.MeasureUnit = MeasureUnit;

            item.ParaName = ParaName;

            item.ParaStatus = ParaStatus;

            item.Note = Note;

            item.PrintData = PrintData;

            item.Barcode = Barcode;

            item.UpdateNum = UpdateNum;

            item.TestDataId = TestDataId;

            item.DeviceId = DeviceId;

            item.IsNormal = IsNormal;

            item.SentStatus = SentStatus;

            item.TestDateCreated = TestDateCreated;

            item.Save(UserName);
        }