public void Insert(string LocalAlias, int?TestTypeId, int?IdHisXn, short?DisplayParamLevel, string TagName)
        {
            var item = new TblAliasMapping();

            item.LocalAlias = LocalAlias;

            item.TestTypeId = TestTypeId;

            item.IdHisXn = IdHisXn;

            item.DisplayParamLevel = DisplayParamLevel;

            item.TagName = TagName;


            item.Save(UserName);
        }
        public void Update(long Id, string LocalAlias, int?TestTypeId, int?IdHisXn, short?DisplayParamLevel,
                           string TagName)
        {
            var item = new TblAliasMapping();

            item.MarkOld();
            item.IsLoaded = true;

            item.Id = Id;

            item.LocalAlias = LocalAlias;

            item.TestTypeId = TestTypeId;

            item.IdHisXn = IdHisXn;

            item.DisplayParamLevel = DisplayParamLevel;

            item.TagName = TagName;

            item.Save(UserName);
        }
 public bool Destroy(object Id)
 {
     return(TblAliasMapping.Destroy(Id) == 1);
 }
 public bool Delete(object Id)
 {
     return(TblAliasMapping.Delete(Id) == 1);
 }