コード例 #1
0
 public void RecognizeExplicitRegisteredDictionaryProperty()
 {
     var mapper = new ObjectRelationalMapper();
     mapper.Dictionary<A>(x => x.Emails);
     PropertyInfo mi = typeof(A).GetProperty("Emails");
     mapper.IsDictionary(mi).Should().Be.True();
 }
コード例 #2
0
        public void RecognizeExplicitRegisteredDictionaryProperty()
        {
            var mapper = new ObjectRelationalMapper();

            mapper.Dictionary <A>(x => x.Emails);
            PropertyInfo mi = typeof(A).GetProperty("Emails");

            mapper.IsDictionary(mi).Should().Be.True();
        }