From 1683786cce53561e72cea3291a3df38c6c7581c6 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Tue, 3 Jan 2017 19:47:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E8=BD=BDToString=E6=96=B9=E6=B3=95?= =?UTF-8?q?=EF=BC=8C=E6=96=B9=E4=BE=BFCache=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.DataAccess/User.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Bootstrap.DataAccess/User.cs b/Bootstrap.DataAccess/User.cs index faec8d6f..04d7cc60 100644 --- a/Bootstrap.DataAccess/User.cs +++ b/Bootstrap.DataAccess/User.cs @@ -67,5 +67,13 @@ namespace Bootstrap.DataAccess /// 获得/设置 新密码 /// public string NewPassword { get; set; } + /// + /// + /// + /// + public override string ToString() + { + return string.Format("{0} ({1})", UserName, DisplayName); + } } }