Files
Newtonsoft.Json/Src/Newtonsoft.Json.Tests/LinqToSql/Person.cs
T
2012-04-08 18:10:07 +12:00

18 lines
382 B
C#

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; }
}
}
}