Files
Newtonsoft.Json/Src/Newtonsoft.Json.Tests/LinqToSql/Role.cs
T
JamesNK 6e205383c7 -Added MetadataTypeAttribute support when searching for attributes
-Tests around serializing/deserializing LINQ to SQL classes
2009-04-26 07:11:30 +00:00

21 lines
514 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Linq;
using System.Linq;
using System.Text;
namespace Newtonsoft.Json.Tests.LinqToSql
{
[MetadataType(typeof(RoleMetadata))]
public partial class Role
{
public class RoleMetadata
{
[JsonConverter(typeof(GuidByteArrayConverter))]
public Guid RoleId { get; set; }
[JsonIgnore]
public EntitySet<PersonRole> PersonRoles { get; set; }
}
}
}