Looking for mongodb-csharp Answers? Try Ask4KnowledgeBase
Looking for mongodb-csharp Keywords? Try Ask4Keywords

mongodb-csharpMongoDB C#におけるCRUD操作


備考

名前空間:

using System.Collections.Generic;
using System.Linq;

using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Driver;

using IAggregateFluentExtensions = MongoDB.Driver.IAggregateFluentExtensions;
using IMongoCollectionExtensions = MongoDB.Driver.IMongoCollectionExtensions;
using MongoClient = MongoDB.Driver.MongoClient;

例で使用されるクラス:

    public class Interactions
    {
        public ObjectId Id { get; set; }
        public string ChannelId { get; set; }
        public string ContactId { get; set; }
        public string Language { get; set; }
        public List<Pages> Pages { get; set; }
        public string SiteName { get; set; }
        public int Value { get; set; }
        public int VisitPageCount { get; set; }
    }


    public class Pages
    {
        public string Url { get; set; }
        public int VisitPageIndex { get; set; }
    }

MongoDB C#におけるCRUD操作 関連する例