public void Insert(string TestDataId, int TestTypeId, int?DataSequence, string DataName, string MeasureUnit, short DataPoint, string NormalLevel, string NormalLevelW, bool?DataView, bool?DataPrint, string Description, string ReportDesc) { LStandardTest item = new LStandardTest(); item.TestDataId = TestDataId; item.TestTypeId = TestTypeId; item.DataSequence = DataSequence; item.DataName = DataName; item.MeasureUnit = MeasureUnit; item.DataPoint = DataPoint; item.NormalLevel = NormalLevel; item.NormalLevelW = NormalLevelW; item.DataView = DataView; item.DataPrint = DataPrint; item.Description = Description; item.ReportDesc = ReportDesc; item.Save(UserName); }
public bool Destroy(object TestDataId) { return(LStandardTest.Destroy(TestDataId) == 1); }
public bool Delete(object TestDataId) { return(LStandardTest.Delete(TestDataId) == 1); }