public void TestNamedIdMemberConvention()
        {
            var convention = new NamedIdMemberConvention("Id", "id", "_id");

            var idMemberName = convention.FindIdMember(typeof(TestClassA));

            Assert.IsNotNull(idMemberName);
            Assert.AreEqual("Id", idMemberName);

            idMemberName = convention.FindIdMember(typeof(TestClassB));
            Assert.IsNull(idMemberName);

            idMemberName = convention.FindIdMember(typeof(TestClassC));
            Assert.IsNotNull(idMemberName);
            Assert.AreEqual("id", idMemberName);

            idMemberName = convention.FindIdMember(typeof(TestClassD));
            Assert.IsNotNull(idMemberName);
            Assert.AreEqual("_id", idMemberName);
        }
        public void TestNamedIdMemberConvention()
        {
            var convention = new NamedIdMemberConvention("Id", "id", "_id");

#pragma warning disable 618
            var idMemberName = convention.FindIdMember(typeof(TestClassA));
            Assert.IsNotNull(idMemberName);
            Assert.AreEqual("Id", idMemberName);

            idMemberName = convention.FindIdMember(typeof(TestClassB));
            Assert.IsNull(idMemberName);

            idMemberName = convention.FindIdMember(typeof(TestClassC));
            Assert.IsNotNull(idMemberName);
            Assert.AreEqual("id", idMemberName);

            idMemberName = convention.FindIdMember(typeof(TestClassD));
            Assert.IsNotNull(idMemberName);
            Assert.AreEqual("_id", idMemberName);
#pragma warning restore 618
        }