publicvirtualResetUserRetrieveUserByUserName(stringuserName)=>DbManager.Create().FirstOrDefault<ResetUser>("where UserName = @0 order by ResetTime desc",userName);
publicvirtualIEnumerable<KeyValuePair<DateTime,string>>RetrieveResetReasonsByUserName(stringuserName)=>DbManager.Create().Fetch<ResetUser>("where UserName = @0 order by ResetTime desc",userName).Select(user=>newKeyValuePair<DateTime,string>(user.ResetTime,user.Reason));