-Added MetadataTypeAttribute support when searching for attributes

-Tests around serializing/deserializing LINQ to SQL classes
This commit is contained in:
JamesNK
2009-04-26 07:11:30 +00:00
parent affb9ec906
commit 6e205383c7
13 changed files with 1149 additions and 4 deletions
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
namespace Newtonsoft.Json.Tests.LinqToSql
{
[MetadataType(typeof(PersonMetadata))]
public partial class Person
{
public class PersonMetadata
{
[JsonProperty("first_name")]
public string FirstName { get; set; }
}
}
}