public void Can_get_and_set_clr_type_annotation()
        {
            var annotations = new List<DataModelAnnotation>();

            annotations.SetClrType(typeof(int));

            Assert.Equal(typeof(int), annotations.GetClrType());
        }
Example #2
0
        public void Can_get_and_set_clr_type_annotation()
        {
            var annotations = new List<MetadataProperty>();

            annotations.SetClrType(typeof(int));

            Assert.Equal(typeof(int), annotations.GetClrType());
        }