public void Insert(decimal TestId, string PatientId, short?Status, decimal?DataId, decimal?UpdateUser, decimal?UpdateDate) { TTestContent item = new TTestContent(); item.TestId = TestId; item.PatientId = PatientId; item.Status = Status; item.DataId = DataId; item.UpdateUser = UpdateUser; item.UpdateDate = UpdateDate; item.Save(UserName); }
public bool Destroy(object TestId) { return(TTestContent.Destroy(TestId) == 1); }
public bool Delete(object TestId) { return(TTestContent.Delete(TestId) == 1); }