Exemple #1
0
        public SaveHideOrgResult SaveHideorganization(HideOrg entity, string Mode)
        {
            using (TransactionEntities context = new TransactionEntities())
            {
                var result = context.SaveHideOrg(
                    mode: Mode
                    , hideDateFrom: entity.HideDateFrom
                    , hideDateTo: entity.HideDateTo
                    , orgCode: entity.OrgCode
                    , divCodeKey: entity.DivCodeKey
                    , deptCodeKey: entity.DeptCodeKey
                    , secCodeKey: entity.SecCodeKey
                    , userCode: entity.UpdateBy
                    ).FirstOrDefault();

                return(result);
            }
        }