OpenAuth.Net/OpenAuth.Domain/Core/User.cs

19 lines
297 B
C#
Raw Normal View History

using System;
namespace OpenAuth.Domain
{
/// <summary>
/// 用户ID
/// </summary>
public partial class User
{
public void CheckPassword(string password)
{
if (Password != password)
{
throw new Exception("密码错误");
}
}
}
}