Beispiel #1
0
        public int UpdateAssetsEx(AssetsMain main, LandAttribute attr)
        {
            main.InputTime    = DateTime.Now;
            main.ExtDataTable = "ASSETS_LAND";
            _assetsMainRep.Save(main);
            attr.AssetsNum = main.AssetsNum;
            _landRep.Update(attr);

            var result = _assetsMainRep.FirstOrDefault(x => x.AssetsNum == main.AssetsNum);

            return(result.EntityId);
        }