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

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

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

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

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