-Updated source code to VS2010

-Updated main project to .NET 4.0
-Updated to psake 4.0
-Changed assembly version to 4.0.0.0
-Added ICustomTypeDescriptor implementation to JObject, removed JTypeDescriptionProvider and JTypeDescriptor
-Changed serialization of collections to use iterator rather than indexer
-Removed Compact Framework project
-Fixed XML documentation warnings
This commit is contained in:
JamesNK
2010-08-31 02:19:41 +00:00
parent 97d9cf82ef
commit 12a91cce9e
37 changed files with 1686 additions and 1932 deletions
@@ -2,7 +2,7 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3074
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -100,7 +100,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Table(Name="")]
[global::System.Data.Linq.Mapping.TableAttribute(Name="")]
public partial class Person : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -139,7 +139,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
OnCreated();
}
[Column(Storage="_FirstName", CanBeNull=false)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FirstName", CanBeNull=false)]
public string FirstName
{
get
@@ -159,7 +159,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Column(Storage="_LastName", CanBeNull=false)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastName", CanBeNull=false)]
public string LastName
{
get
@@ -179,7 +179,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Column(Storage="_PersonId", IsPrimaryKey=true)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonId", IsPrimaryKey=true)]
public System.Guid PersonId
{
get
@@ -199,7 +199,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Column(Storage="_DepartmentId")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartmentId")]
public System.Guid DepartmentId
{
get
@@ -223,7 +223,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Association(Name="Person_PersonRole", Storage="_PersonRoles", ThisKey="PersonId", OtherKey="PersonId")]
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Person_PersonRole", Storage="_PersonRoles", ThisKey="PersonId", OtherKey="PersonId")]
public EntitySet<PersonRole> PersonRoles
{
get
@@ -236,7 +236,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Association(Name="Department_Person", Storage="_Department", ThisKey="DepartmentId", OtherKey="DepartmentId", IsForeignKey=true)]
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Department_Person", Storage="_Department", ThisKey="DepartmentId", OtherKey="DepartmentId", IsForeignKey=true)]
public Department Department
{
get
@@ -303,7 +303,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Table(Name="")]
[global::System.Data.Linq.Mapping.TableAttribute(Name="")]
public partial class Role : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -331,7 +331,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
OnCreated();
}
[Column(Storage="_Name", CanBeNull=false)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", CanBeNull=false)]
public string Name
{
get
@@ -351,7 +351,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Column(Storage="_RoleId", IsPrimaryKey=true)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId", IsPrimaryKey=true)]
public System.Guid RoleId
{
get
@@ -371,7 +371,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Association(Name="Role_PersonRole", Storage="_PersonRoles", ThisKey="RoleId", OtherKey="RoleId")]
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Role_PersonRole", Storage="_PersonRoles", ThisKey="RoleId", OtherKey="RoleId")]
public EntitySet<PersonRole> PersonRoles
{
get
@@ -417,7 +417,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Table(Name="")]
[global::System.Data.Linq.Mapping.TableAttribute(Name="")]
public partial class PersonRole : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -452,7 +452,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
OnCreated();
}
[Column(Storage="_PersonId")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonId")]
public System.Guid PersonId
{
get
@@ -476,7 +476,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Column(Storage="_RoleId")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RoleId")]
public System.Guid RoleId
{
get
@@ -500,7 +500,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Column(Storage="_PersonRoleId", IsPrimaryKey=true)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PersonRoleId", IsPrimaryKey=true)]
public System.Guid PersonRoleId
{
get
@@ -520,7 +520,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Association(Name="Person_PersonRole", Storage="_Person", ThisKey="PersonId", OtherKey="PersonId", IsForeignKey=true)]
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Person_PersonRole", Storage="_Person", ThisKey="PersonId", OtherKey="PersonId", IsForeignKey=true)]
public Person Person
{
get
@@ -554,7 +554,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Association(Name="Role_PersonRole", Storage="_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)]
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Role_PersonRole", Storage="_Role", ThisKey="RoleId", OtherKey="RoleId", IsForeignKey=true)]
public Role Role
{
get
@@ -609,7 +609,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Table(Name="")]
[global::System.Data.Linq.Mapping.TableAttribute(Name="")]
public partial class Department : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -637,7 +637,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
OnCreated();
}
[Column(Storage="_DepartmentId", IsPrimaryKey=true)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartmentId", IsPrimaryKey=true)]
public System.Guid DepartmentId
{
get
@@ -657,7 +657,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Column(Storage="_Name", CanBeNull=false)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", CanBeNull=false)]
public string Name
{
get
@@ -677,7 +677,7 @@ namespace Newtonsoft.Json.Tests.LinqToSql
}
}
[Association(Name="Department_Person", Storage="_Persons", ThisKey="DepartmentId", OtherKey="DepartmentId")]
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="Department_Person", Storage="_Persons", ThisKey="DepartmentId", OtherKey="DepartmentId")]
public EntitySet<Person> Persons
{
get