protected override void Register()
        {
            bool result = false;

            try
            {
                result = this.Member.Save();
            }
            catch (SqlException ex)
            {
                Logger.Error(ex);
                base.ShowAlert();
            }

            base.ShowMessage(result);

            if (result)
            {
                this.Member = new Member();
            }
        }
Beispiel #2
0
 /// <summary>
 /// ログイン認証
 /// </summary>
 /// <param name="condition">ログイン情報</param>
 /// <returns>成功:メンバー情報 / 失敗:null</returns>
 public static Member LoginAuthorication(Member condition)
 {
     return ModelBase._db.ReadOne<Member, Member>("Exec LoginAuthorication @LoginID, @LoginPassword", condition);
 }
 public EditMemberViewModel(Member model)
     : base()
 {
     this.Member = model;
 }