/// <summary>
 /// 同步管理员基本资料信息
 /// </summary>
 /// <param name="accInfo">同步的管理员基本资料数据源</param>
 public void SyncAccInfo(ManagerAccountInformation accInfo)
 {
     if (accInfo != null)
     {
         AccInfo.Sync(accInfo);
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// 同步管理员账户信息
        /// </summary>
        /// <param name="mgrAccInfo">同步数据源</param>
        public void Sync(ManagerAccountInformation mgrAccInfo)
        {
            base.Sync(mgrAccInfo);

            IDNumber = mgrAccInfo.IDNumber;
            Sex      = mgrAccInfo.Sex;
            UserName = mgrAccInfo.UserName;
        }
 /// <summary>
 /// 用账户名实例化一个管理员账户类
 /// </summary>
 public ManagerAccount( )
 {
     AccInfo   = new ManagerAccountInformation( );
     Authority = new ManagerAuthority( );
 }