public void Update(int Id, int?IdLab, string IdKetNoi, string SDesc, string AliasName, string TypeMap, int?TestTypeId, string TestDataId) { LMappingEmac item = new LMappingEmac(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.IdLab = IdLab; item.IdKetNoi = IdKetNoi; item.SDesc = SDesc; item.AliasName = AliasName; item.TypeMap = TypeMap; item.TestTypeId = TestTypeId; item.TestDataId = TestDataId; item.Save(UserName); }
public void Insert(int?IdLab, string IdKetNoi, string SDesc, string AliasName, string TypeMap, int?TestTypeId, string TestDataId) { LMappingEmac item = new LMappingEmac(); item.IdLab = IdLab; item.IdKetNoi = IdKetNoi; item.SDesc = SDesc; item.AliasName = AliasName; item.TypeMap = TypeMap; item.TestTypeId = TestTypeId; item.TestDataId = TestDataId; item.Save(UserName); }
public bool Destroy(object Id) { return(LMappingEmac.Destroy(Id) == 1); }
public bool Delete(object Id) { return(LMappingEmac.Delete(Id) == 1); }