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 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);
        }