diff --git a/Bootstrap.DataAccess.MongoDB/Message.cs b/Bootstrap.DataAccess.MongoDB/Message.cs index 86bbf329..6ff7e50b 100644 --- a/Bootstrap.DataAccess.MongoDB/Message.cs +++ b/Bootstrap.DataAccess.MongoDB/Message.cs @@ -3,11 +3,18 @@ using System.Collections.Generic; namespace Bootstrap.DataAccess.MongoDB { + /// + /// + /// public class Message : DataAccess.Message { + /// + /// + /// + /// + /// protected override IEnumerable RetrieveMessages(string userName) { - //TODO: 完善其他字段信息 var msg = MongoDbAccessManager.DBAccess.GetCollection("Messages"); return msg.Find(message => message.To == userName || message.From == userName).ToList(); }