コード例 #1
0
        public void TestClassWithBooleanId()
        {
            _collection.RemoveAll();

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

            doc = new ClassWithBooleanId { Id = true, X = 1 };
            _collection.Insert(doc);
        }
コード例 #2
0
ファイル: CSharp231Tests.cs プロジェクト: RavenZZ/MDRelation
        public void TestClassWithBooleanId()
        {
            _collection.RemoveAll();

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

            doc = new ClassWithBooleanId { Id = true, X = 1 };
            _collection.Insert(doc);
        }