コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 public bool Destroy(object Id)
 {
     return(LMappingEmac.Destroy(Id) == 1);
 }
コード例 #4
0
 public bool Delete(object Id)
 {
     return(LMappingEmac.Delete(Id) == 1);
 }