public void TestClassWithBsonBooleanId()
        {
            _collection.RemoveAll();

            var doc = new ClassWithBsonBooleanId { Id = null, X = 1 };
            _collection.Insert(doc);

            doc = new ClassWithBsonBooleanId { Id = BsonBoolean.False, X = 1 };
            _collection.Insert(doc);

            doc = new ClassWithBsonBooleanId { Id = BsonBoolean.True, X = 1 };
            _collection.Insert(doc);
        }
Beispiel #2
0
        public void TestClassWithBsonBooleanId()
        {
            collection.RemoveAll();

            var doc = new ClassWithBsonBooleanId {
                Id = null, X = 1
            };

            collection.Insert(doc);

            doc = new ClassWithBsonBooleanId {
                Id = BsonBoolean.Create(false), X = 1
            };
            collection.Insert(doc);

            doc = new ClassWithBsonBooleanId {
                Id = BsonBoolean.Create(true), X = 1
            };
            collection.Insert(doc);
        }
Beispiel #3
0
        public void TestClassWithBsonBooleanId()
        {
            _collection.RemoveAll();

            var doc = new ClassWithBsonBooleanId { Id = null, X = 1 };
            _collection.Insert(doc);

            doc = new ClassWithBsonBooleanId { Id = BsonBoolean.False, X = 1 };
            _collection.Insert(doc);

            doc = new ClassWithBsonBooleanId { Id = BsonBoolean.True, X = 1 };
            _collection.Insert(doc);
        }
        public void TestClassWithBsonBooleanId()
        {
            collection.RemoveAll();

            var doc = new ClassWithBsonBooleanId { Id = null, X = 1 };
            collection.Insert(doc);

            doc = new ClassWithBsonBooleanId { Id = BsonBoolean.Create(false), X = 1 };
            collection.Insert(doc);

            doc = new ClassWithBsonBooleanId { Id = BsonBoolean.Create(true), X = 1 };
            collection.Insert(doc);
        }