Beispiel #1
0
        /// <summary>
        /// 添加用户
        /// </summary>
        /// <returns>返回新用户的ID</returns>
        public int Add()
        {
            MasterDAL dal = new MasterDAL(connectionString);

            _id = dal.AddMaster(_masterid, _mastername, _password, _truename, _sex, _birthday, _deptid, _position,
                                _position_desc, _office_phone, _mobile, _home_phone, _email, _createid, _createname, _createdate, _ruzhitime);
            return(_id);
        }