Exemple #1
0
        public SaveFixOrgByEmpResult SaveFixOrganization(FixOrgEmp entity, string Mode)
        {
            using (TransactionEntities context = new TransactionEntities())
            {
                var result = context.SaveFixOrgByEmp(
                    mode: Mode
                    , empCode: entity.EmpCode
                    , effectiveDateFrom: entity.EffectiveDateFrom
                    , effectiveDateTo: entity.EffectiveDateTo
                    , divCodeKey: entity.DivCodeKey
                    , deptCodeKey: entity.DeptCodeKey
                    , secCodeKey: entity.SecCodeKey
                    , userCode: entity.UpdateBy
                    ).FirstOrDefault();

                return(result);
            }
        }