Beispiel #1
0
        public void ClrTypeMappingVocabularyAnnotationClassTypeWithNewProperties()
        {
            var edmModel = this.GetParserResult(ClrTypeMappingTestModelBuilder.VocabularyAnnotationClassTypeWithNewProperties());

            var valueAnnotation = this.GetVocabularyAnnotations(edmModel, edmModel.FindType("NS1.Person"), "RecursivePropertyWithNewProperties").Single();

            this.ValidateClrObjectConverter(valueAnnotation, new DerivedRecursiveProperty()
            {
                X = 1, Y = 2, Origin = 4
            });
        }