System.Data.SQLite
Check-in [644aeca13c]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Changes to get base portions compiling under Visual Studio 2010. Still much to be done. Need to sort out packaging, installation, wince, etc.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | vs2010
Files: files | file ages | folders
SHA1: 644aeca13c05c79f15d0171901ad7a406fca7367
User & Date: shaneh 2010-12-16 17:49:13
Context
2010-12-20
18:30
Add some missing vs2010 project files. check-in: f008ffb1ee user: shaneh tags: vs2010
2010-12-16
17:49
Changes to get base portions compiling under Visual Studio 2010. Still much to be done. Need to sort out packaging, installation, wince, etc. check-in: 644aeca13c user: shaneh tags: vs2010
2010-11-24
14:29
Remove a duplicate DLL whose name differs only in case. check-in: 7f9e634bf5 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to SQLite.Designer/AssemblyInfo.cs.

     5      5   using System.Runtime.ConstrainedExecution;
     6      6   using System.Resources;
     7      7   
     8      8   // General Information about an assembly is controlled through the following 
     9      9   // set of attributes. Change these attribute values to modify the information
    10     10   // associated with an assembly.
    11     11   [assembly: AssemblyTitle("SQLite.Designer")]
    12         -[assembly: AssemblyDescription("ADO.NET 2.0 Data Designer for SQLite")]
           12  +[assembly: AssemblyDescription("ADO.NET 4.0 Data Designer for SQLite")]
    13     13   [assembly: AssemblyConfiguration("")]
    14     14   [assembly: AssemblyCompany("http://sqlite.phxsoftware.com")]
    15     15   [assembly: AssemblyProduct("SQLite Designer")]
    16     16   [assembly: AssemblyCopyright("Public Domain")]
    17     17   [assembly: AssemblyTrademark("")]
    18     18   [assembly: AssemblyCulture("")]
    19     19   
................................................................................
    30     30   //      Major Version
    31     31   //      Minor Version 
    32     32   //      Build Number
    33     33   //      Revision
    34     34   //
    35     35   // You can specify all the values or you can default the Revision and Build Numbers 
    36     36   // by using the '*' as shown below:
    37         -[assembly: AssemblyVersion("1.0.37.0")]
    38         -[assembly: AssemblyFileVersion("1.0.37.0")]
           37  +[assembly: AssemblyVersion("1.0.38.1")]
           38  +[assembly: AssemblyFileVersion("1.0.38.1")]
    39     39   [assembly: AssemblyDelaySignAttribute(false)]
    40     40   [assembly: AssemblyKeyFileAttribute("..\\System.Data.SQLite\\System.Data.SQLite.snk")]
    41     41   [assembly: AssemblyKeyNameAttribute("")]

Changes to SQLite.Designer/SQLite.Designer.csproj.

     1         -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
            1  +<?xml version="1.0" encoding="utf-8"?>
            2  +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
     2      3     <PropertyGroup>
     3      4       <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     4      5       <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     5      6       <ProductVersion>9.0.30729</ProductVersion>
     6      7       <SchemaVersion>2.0</SchemaVersion>
     7      8       <ProjectGuid>{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}</ProjectGuid>
     8      9       <OutputType>Library</OutputType>
................................................................................
    11     12       <AssemblyName>SQLite.Designer</AssemblyName>
    12     13       <SignAssembly>false</SignAssembly>
    13     14       <RegisterOutputPackage>false</RegisterOutputPackage>
    14     15       <RegisterWithCodebase>false</RegisterWithCodebase>
    15     16       <GeneratePkgDefFile>false</GeneratePkgDefFile>
    16     17       <FileUpgradeFlags>
    17     18       </FileUpgradeFlags>
    18         -    <OldToolsVersion>2.0</OldToolsVersion>
           19  +    <OldToolsVersion>3.5</OldToolsVersion>
    19     20       <UpgradeBackupLocation>
    20     21       </UpgradeBackupLocation>
           22  +    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
           23  +    <PublishUrl>publish\</PublishUrl>
           24  +    <Install>true</Install>
           25  +    <InstallFrom>Disk</InstallFrom>
           26  +    <UpdateEnabled>false</UpdateEnabled>
           27  +    <UpdateMode>Foreground</UpdateMode>
           28  +    <UpdateInterval>7</UpdateInterval>
           29  +    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
           30  +    <UpdatePeriodically>false</UpdatePeriodically>
           31  +    <UpdateRequired>false</UpdateRequired>
           32  +    <MapFileExtensions>true</MapFileExtensions>
           33  +    <ApplicationRevision>0</ApplicationRevision>
           34  +    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
           35  +    <IsWebBootstrapper>false</IsWebBootstrapper>
           36  +    <UseApplicationTrust>false</UseApplicationTrust>
           37  +    <BootstrapperEnabled>true</BootstrapperEnabled>
           38  +    <TargetFrameworkProfile />
    21     39     </PropertyGroup>
    22     40     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    23     41       <DebugSymbols>true</DebugSymbols>
    24     42       <DebugType>full</DebugType>
    25     43       <Optimize>false</Optimize>
    26     44       <OutputPath>..\bin\designer\</OutputPath>
    27     45       <DefineConstants>DEBUG;TRACE</DefineConstants>
................................................................................
    30     48       <NoWarn>1701;1702;1699;3001</NoWarn>
    31     49       <FileAlignment>512</FileAlignment>
    32     50       <PlatformTarget>x86</PlatformTarget>
    33     51       <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    34     52       <RegisterOutputPackage>false</RegisterOutputPackage>
    35     53       <GeneratePkgDefFile>false</GeneratePkgDefFile>
    36     54       <RegisterWithCodebase>false</RegisterWithCodebase>
           55  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    37     56     </PropertyGroup>
    38     57     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    39     58       <DebugType>none</DebugType>
    40     59       <Optimize>true</Optimize>
    41     60       <OutputPath>..\bin\Designer\</OutputPath>
    42     61       <DefineConstants>
    43     62       </DefineConstants>
................................................................................
    47     66       <FileAlignment>512</FileAlignment>
    48     67       <PlatformTarget>x86</PlatformTarget>
    49     68       <AllowUnsafeBlocks>false</AllowUnsafeBlocks>
    50     69       <RegisterOutputPackage>false</RegisterOutputPackage>
    51     70       <RegisterWithCodebase>false</RegisterWithCodebase>
    52     71       <GeneratePkgDefFile>false</GeneratePkgDefFile>
    53     72       <UseVSHostingProcess>false</UseVSHostingProcess>
           73  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
           74  +  </PropertyGroup>
           75  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
           76  +    <DebugSymbols>true</DebugSymbols>
           77  +    <OutputPath>bin\x86\Debug\</OutputPath>
           78  +    <DefineConstants>DEBUG;TRACE</DefineConstants>
           79  +    <NoWarn>1701;1702;1699;3001</NoWarn>
           80  +    <DebugType>full</DebugType>
           81  +    <PlatformTarget>x86</PlatformTarget>
           82  +    <CodeAnalysisLogFile>..\bin\designer\SQLite.Designer.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
           83  +    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
           84  +    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
           85  +    <ErrorReport>prompt</ErrorReport>
           86  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
           87  +    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
           88  +    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
           89  +  </PropertyGroup>
           90  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
           91  +    <OutputPath>..\bin\designer\</OutputPath>
           92  +    <Optimize>true</Optimize>
           93  +    <NoWarn>1701;1702;1699;3001</NoWarn>
           94  +    <PlatformTarget>x86</PlatformTarget>
           95  +    <CodeAnalysisLogFile>..\bin\Designer\SQLite.Designer.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
           96  +    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
           97  +    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
           98  +    <UseVSHostingProcess>false</UseVSHostingProcess>
           99  +    <ErrorReport>prompt</ErrorReport>
          100  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
          101  +    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
          102  +    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
    54    103     </PropertyGroup>
    55    104     <ItemGroup>
    56    105       <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    57    106         <SpecificVersion>False</SpecificVersion>
    58    107         <HintPath>..\..\..\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\EnvDTE.dll</HintPath>
    59    108       </Reference>
    60    109       <Reference Include="Microsoft.Data.ConnectionUI, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
    61    110         <SpecificVersion>False</SpecificVersion>
    62         -      <HintPath>..\..\Microsoft.Data.ConnectionUI.dll</HintPath>
          111  +      <HintPath>..\..\..\Program Files (x86)\Microsoft Visual Studio 2008 SDK\VisualStudioIntegration\Common\Assemblies\2005\Microsoft.Data.ConnectionUI.dll</HintPath>
    63    112         <Private>False</Private>
    64    113       </Reference>
    65    114       <Reference Include="Microsoft.VisualStudio.CommandBars, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    66    115         <SpecificVersion>False</SpecificVersion>
    67    116         <HintPath>..\..\..\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\PublicAssemblies\Microsoft.VisualStudio.CommandBars.dll</HintPath>
    68    117       </Reference>
    69    118       <Reference Include="Microsoft.VisualStudio.Data, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
    70         -      <HintPath>..\..\Microsoft.VisualStudio.Data.dll</HintPath>
    71    119         <SpecificVersion>False</SpecificVersion>
          120  +      <HintPath>..\..\..\Program Files (x86)\Microsoft Visual Studio 2008 SDK\VisualStudioIntegration\Common\Assemblies\2005\Microsoft.VisualStudio.Data.dll</HintPath>
    72    121         <Private>False</Private>
    73    122       </Reference>
          123  +    <Reference Include="Microsoft.VisualStudio.Data.Services, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
    74    124       <Reference Include="Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    75    125         <SpecificVersion>False</SpecificVersion>
    76    126       </Reference>
    77    127       <Reference Include="Microsoft.VisualStudio.Shell, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
    78    128         <SpecificVersion>False</SpecificVersion>
    79    129       </Reference>
    80    130       <Reference Include="Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
................................................................................
   165    215     <ItemGroup>
   166    216       <VSCTCompile Include="PkgCmd.vsct">
   167    217         <ResourceName>1000</ResourceName>
   168    218       </VSCTCompile>
   169    219     </ItemGroup>
   170    220     <ItemGroup>
   171    221       <EmbeddedResource Include="SQLiteDataViewSupport2008.xml" />
          222  +    <EmbeddedResource Include="SQLiteDataViewSupport2010.xml" />
   172    223       <EmbeddedResource Include="VSPackage.resx">
   173    224         <Generator>ResXFileCodeGenerator</Generator>
   174    225         <LastGenOutput>VSPackage.Designer.cs</LastGenOutput>
   175    226         <MergeWithCTO>true</MergeWithCTO>
   176    227         <SubType>Designer</SubType>
   177    228       </EmbeddedResource>
   178    229     </ItemGroup>
................................................................................
   208    259     </ItemGroup>
   209    260     <ItemGroup>
   210    261       <None Include="Resources\ToolboxItems.txt" />
   211    262     </ItemGroup>
   212    263     <ItemGroup>
   213    264       <Folder Include="Properties\" />
   214    265     </ItemGroup>
          266  +  <ItemGroup>
          267  +    <None Include="source.extension.vsixmanifest" />
          268  +  </ItemGroup>
          269  +  <ItemGroup>
          270  +    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
          271  +      <Visible>False</Visible>
          272  +      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
          273  +      <Install>false</Install>
          274  +    </BootstrapperPackage>
          275  +    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
          276  +      <Visible>False</Visible>
          277  +      <ProductName>.NET Framework 3.5 SP1</ProductName>
          278  +      <Install>true</Install>
          279  +    </BootstrapperPackage>
          280  +    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
          281  +      <Visible>False</Visible>
          282  +      <ProductName>Windows Installer 3.1</ProductName>
          283  +      <Install>true</Install>
          284  +    </BootstrapperPackage>
          285  +  </ItemGroup>
   215    286     <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   216         -  <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\VSSDK\Microsoft.VsSDK.targets" />
          287  +  <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\VSSDK\Microsoft.VsSDK.targets" />
   217    288     <PropertyGroup>
   218    289       <PostBuildEvent>
   219    290       </PostBuildEvent>
   220    291     </PropertyGroup>
   221    292   </Project>

Changes to SQLite.Designer/SQLite.Designer.sln.

     1      1   
     2         -Microsoft Visual Studio Solution File, Format Version 10.00
     3         -# Visual Studio 2008
            2  +Microsoft Visual Studio Solution File, Format Version 11.00
            3  +# Visual Studio 2010
     4      4   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SQLite.Designer", "SQLite.Designer.csproj", "{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}"
     5      5   EndProject
     6      6   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "install", "..\tools\install\install.csproj", "{71EED886-B5BF-488E-A4AA-1403E393D224}"
     7      7   	ProjectSection(ProjectDependencies) = postProject
     8         -		{AC139962-261A-4463-B6FA-AEBC25283A66} = {AC139962-261A-4463-B6FA-AEBC25283A66}
     9      8   		{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198} = {9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}
    10      9   	EndProjectSection
    11     10   EndProject
    12         -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Data.SQLite - CFDT", "..\System.Data.SQLite\System.Data.SQLite - CFDT.csproj", "{AC139962-261A-4463-B6FA-AEBC25283A66}"
    13         -EndProject
    14     11   Global
    15     12   	GlobalSection(SolutionConfigurationPlatforms) = preSolution
    16     13   		Debug|Any CPU = Debug|Any CPU
           14  +		Debug|x86 = Debug|x86
    17     15   		Release|Any CPU = Release|Any CPU
           16  +		Release|x86 = Release|x86
    18     17   	EndGlobalSection
    19     18   	GlobalSection(ProjectConfigurationPlatforms) = postSolution
    20     19   		{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    21     20   		{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}.Debug|Any CPU.Build.0 = Debug|Any CPU
    22         -		{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}.Release|Any CPU.ActiveCfg = Release|Any CPU
    23         -		{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}.Release|Any CPU.Build.0 = Release|Any CPU
           21  +		{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}.Debug|x86.ActiveCfg = Debug|x86
           22  +		{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}.Debug|x86.Build.0 = Debug|x86
           23  +		{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}.Release|Any CPU.ActiveCfg = Release|x86
           24  +		{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}.Release|Any CPU.Build.0 = Release|x86
           25  +		{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}.Release|x86.ActiveCfg = Release|x86
           26  +		{9B4A5CF6-5BE5-4926-ACC7-B729A8C05198}.Release|x86.Build.0 = Release|x86
    24     27   		{71EED886-B5BF-488E-A4AA-1403E393D224}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    25     28   		{71EED886-B5BF-488E-A4AA-1403E393D224}.Debug|Any CPU.Build.0 = Debug|Any CPU
           29  +		{71EED886-B5BF-488E-A4AA-1403E393D224}.Debug|x86.ActiveCfg = Debug|x86
           30  +		{71EED886-B5BF-488E-A4AA-1403E393D224}.Debug|x86.Build.0 = Debug|x86
    26     31   		{71EED886-B5BF-488E-A4AA-1403E393D224}.Release|Any CPU.ActiveCfg = Release|Any CPU
    27     32   		{71EED886-B5BF-488E-A4AA-1403E393D224}.Release|Any CPU.Build.0 = Release|Any CPU
    28         -		{AC139962-261A-4463-B6FA-AEBC25283A66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
    29         -		{AC139962-261A-4463-B6FA-AEBC25283A66}.Debug|Any CPU.Build.0 = Debug|Any CPU
    30         -		{AC139962-261A-4463-B6FA-AEBC25283A66}.Release|Any CPU.ActiveCfg = Release|Any CPU
    31         -		{AC139962-261A-4463-B6FA-AEBC25283A66}.Release|Any CPU.Build.0 = Release|Any CPU
           33  +		{71EED886-B5BF-488E-A4AA-1403E393D224}.Release|x86.ActiveCfg = Release|x86
           34  +		{71EED886-B5BF-488E-A4AA-1403E393D224}.Release|x86.Build.0 = Release|x86
    32     35   	EndGlobalSection
    33     36   	GlobalSection(SolutionProperties) = preSolution
    34     37   		HideSolutionNode = FALSE
    35     38   	EndGlobalSection
    36     39   EndGlobal

Changes to SQLite.Designer/SQLiteDataViewSupport.cs.

    27     27   
    28     28       private static string GetVSVersion()
    29     29       {
    30     30         switch (System.Diagnostics.FileVersionInfo.GetVersionInfo(Environment.GetCommandLineArgs()[0]).FileMajorPart)
    31     31         {
    32     32           case 8:
    33     33             return "2005";
    34         -        case 9:
    35         -          return "2008";
    36     34   		case 10:
    37     35   		  return "2010";
           36  +        default:
           37  +          return "2008";
    38     38         }
    39     39       }
    40     40     }
    41     41   }

Changes to SQLite.Designer/VSPackage.Designer.cs.

     1      1   //------------------------------------------------------------------------------
     2      2   // <auto-generated>
     3      3   //     This code was generated by a tool.
     4         -//     Runtime Version:2.0.50727.3031
            4  +//     Runtime Version:4.0.30319.1
     5      5   //
     6      6   //     Changes to this file may cause incorrect behavior and will be lost if
     7      7   //     the code is regenerated.
     8      8   // </auto-generated>
     9      9   //------------------------------------------------------------------------------
    10     10   
    11     11   namespace SQLite.Designer {
................................................................................
    15     15       /// <summary>
    16     16       ///   A strongly-typed resource class, for looking up localized strings, etc.
    17     17       /// </summary>
    18     18       // This class was auto-generated by the StronglyTypedResourceBuilder
    19     19       // class via a tool like ResGen or Visual Studio.
    20     20       // To add or remove a member, edit your .ResX file then rerun ResGen
    21     21       // with the /str option, or rebuild your VS project.
    22         -    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
           22  +    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
    23     23       [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    24     24       [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    25     25       internal class VSPackage {
    26     26           
    27     27           private static global::System.Resources.ResourceManager resourceMan;
    28     28           
    29     29           private static global::System.Globalization.CultureInfo resourceCulture;
................................................................................
   100    100           internal static string ReEncrypt {
   101    101               get {
   102    102                   return ResourceManager.GetString("ReEncrypt", resourceCulture);
   103    103               }
   104    104           }
   105    105           
   106    106           /// <summary>
   107         -        ///   Looks up a localized string similar to .
          107  +        ///   Looks up a localized string similar to [SQLite]
          108  +        ///System.Data.SQLite.SQLiteConnection, System.Data.SQLite
          109  +        ///System.Data.SQLite.SQLiteDataAdapter, System.Data.SQLite
          110  +        ///System.Data.SQLite.SQLiteCommand, System.Data.SQLite
          111  +        ///.
   108    112           /// </summary>
   109    113           internal static string ToolboxItems {
   110    114               get {
   111    115                   return ResourceManager.GetString("ToolboxItems", resourceCulture);
   112    116               }
   113    117           }
   114    118       }
   115    119   }

Changes to SQLite.Interop/SQLite.Interop.rc.

    49     49   
    50     50   /////////////////////////////////////////////////////////////////////////////
    51     51   //
    52     52   // Version
    53     53   //
    54     54   
    55     55   VS_VERSION_INFO VERSIONINFO
    56         - FILEVERSION 1,0,67,0
           56  + FILEVERSION 1,0,66,1
    57     57    PRODUCTVERSION 1,0,0,0
    58     58    FILEFLAGSMASK 0x17L
    59     59   #ifdef _DEBUG
    60     60    FILEFLAGS 0x1L
    61     61   #else
    62     62    FILEFLAGS 0x0L
    63     63   #endif
................................................................................
    67     67   BEGIN
    68     68       BLOCK "StringFileInfo"
    69     69       BEGIN
    70     70           BLOCK "040904b0"
    71     71           BEGIN
    72     72               VALUE "Comments", "http://sqlite.phxsoftware.com"
    73     73               VALUE "FileDescription", "System.Data.SQLite Interop Library"
    74         -            VALUE "FileVersion", "1.0.67.0"
           74  +            VALUE "FileVersion", "1.0.66.1"
    75     75               VALUE "InternalName", "SQLite.Interop.DLL"
    76     76               VALUE "LegalCopyright", "Released to the public domain"
    77         -            VALUE "OriginalFilename", "SQLite3.DLL 3.7.0.1"
           77  +            VALUE "OriginalFilename", "SQLite3.DLL 3.6.23.1"
    78     78               VALUE "ProductName", "System.Data.SQLite"
    79     79               VALUE "ProductVersion", "1.0"
    80     80           END
    81     81       END
    82     82       BLOCK "VarFileInfo"
    83     83       BEGIN
    84     84           VALUE "Translation", 0x409, 1200

Changes to SQLite.Interop/SQLite.Interop.vcproj.

     8      8   	Keyword="Win32Proj"
     9      9   	TargetFrameworkVersion="131072"
    10     10   	>
    11     11   	<Platforms>
    12     12   		<Platform
    13     13   			Name="Win32"
    14     14   		/>
    15         -		<Platform
    16         -			Name="Pocket PC 2003 (ARMV4)"
    17         -		/>
    18         -		<Platform
    19         -			Name="Itanium"
    20         -		/>
    21     15   		<Platform
    22     16   			Name="x64"
    23     17   		/>
    24     18   	</Platforms>
    25     19   	<ToolFiles>
    26     20   	</ToolFiles>
    27     21   	<Configurations>
................................................................................
    79     73   				ModuleDefinitionFile="src\sqlite3.def"
    80     74   				EmbedManagedResourceFile=""
    81     75   				DelayLoadDLLs="advapi32.dll"
    82     76   				RandomizedBaseAddress="1"
    83     77   				DataExecutionPrevention="0"
    84     78   				ImportLibrary=""
    85     79   				TargetMachine="1"
    86         -				KeyFile="..\System.Data.SQLite\System.Data.SQLite.snk"
    87         -				CLRUnmanagedCodeCheck="true"
    88         -			/>
    89         -			<Tool
    90         -				Name="VCALinkTool"
    91         -			/>
    92         -			<Tool
    93         -				Name="VCManifestTool"
    94         -				EmbedManifest="true"
    95         -			/>
    96         -			<Tool
    97         -				Name="VCXDCMakeTool"
    98         -			/>
    99         -			<Tool
   100         -				Name="VCBscMakeTool"
   101         -			/>
   102         -			<Tool
   103         -				Name="VCFxCopTool"
   104         -			/>
   105         -			<Tool
   106         -				Name="VCAppVerifierTool"
   107         -			/>
   108         -			<Tool
   109         -				Name="VCPostBuildEventTool"
   110         -				CommandLine=""
   111         -			/>
   112         -		</Configuration>
   113         -		<Configuration
   114         -			Name="Release|Pocket PC 2003 (ARMV4)"
   115         -			OutputDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
   116         -			IntermediateDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
   117         -			ConfigurationType="2"
   118         -			CharacterSet="1"
   119         -			WholeProgramOptimization="0"
   120         -			>
   121         -			<Tool
   122         -				Name="VCPreBuildEventTool"
   123         -				CommandLine=""
   124         -			/>
   125         -			<Tool
   126         -				Name="VCCustomBuildTool"
   127         -			/>
   128         -			<Tool
   129         -				Name="VCXMLDataGeneratorTool"
   130         -			/>
   131         -			<Tool
   132         -				Name="VCWebServiceProxyGeneratorTool"
   133         -			/>
   134         -			<Tool
   135         -				Name="VCMIDLTool"
   136         -			/>
   137         -			<Tool
   138         -				Name="VCCLCompilerTool"
   139         -				ExecutionBucket="7"
   140         -				Optimization="1"
   141         -				FavorSizeOrSpeed="2"
   142         -				PreprocessorDefinitions="_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);NDEBUG;_WINDOWS;_USRDLL;CPPSMART_EXPORTS;$(ARCHFAM);$(_ARCHFAM_);UNICODE;_UNICODE;SQLITE_HAS_CODEC;SQLITE_ENABLE_COLUMN_METADATA;SQLITE_ENABLE_FTS3;SQLITE_ENABLE_RTREE;SQLITE_ENABLE_LOAD_EXTENSION;SQLITE_SOUNDEX;INVALID_FILE_ATTRIBUTES=((DWORD)-1);SQLITE_OMIT_WAL"
   143         -				StringPooling="true"
   144         -				ExceptionHandling="0"
   145         -				BufferSecurityCheck="false"
   146         -				CompileForArchitecture="0"
   147         -				InterworkCalls="false"
   148         -			/>
   149         -			<Tool
   150         -				Name="VCManagedResourceCompilerTool"
   151         -				ResourceFileName="$(IntDir)\System.Data.SQLite.$(InputName).resources"
   152         -			/>
   153         -			<Tool
   154         -				Name="VCResourceCompilerTool"
   155         -				PreprocessorDefinitions="NDEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE"
   156         -				Culture="1033"
   157         -				AdditionalIncludeDirectories="$(IntDir)"
   158         -			/>
   159         -			<Tool
   160         -				Name="VCPreLinkEventTool"
   161         -				CommandLine=""
   162         -			/>
   163         -			<Tool
   164         -				Name="VCLinkerTool"
   165         -				IgnoreImportLibrary="true"
   166         -				AdditionalOptions=" /subsystem:windowsce,4.20 /ARMPADCODE"
   167         -				OutputFile="../bin/CompactFramework/$(InputName).067.DLL"
   168         -				AdditionalLibraryDirectories=""
   169         -				IgnoreDefaultLibraryNames=""
   170         -				ModuleDefinitionFile="src\sqlite3.def"
   171         -				AddModuleNamesToAssembly=""
   172         -				EmbedManagedResourceFile=""
   173         -				EntryPointSymbol=""
   174         -				MergeSections=""
   175         -				TargetMachine="3"
   176         -			/>
   177         -			<Tool
   178         -				Name="VCALinkTool"
   179         -			/>
   180         -			<Tool
   181         -				Name="VCXDCMakeTool"
   182         -			/>
   183         -			<Tool
   184         -				Name="VCBscMakeTool"
   185         -			/>
   186         -			<Tool
   187         -				Name="VCFxCopTool"
   188         -			/>
   189         -			<Tool
   190         -				Name="VCCodeSignTool"
   191         -			/>
   192         -			<Tool
   193         -				Name="VCPostBuildEventTool"
   194         -				CommandLine=""
   195         -			/>
   196         -			<DeploymentTool
   197         -				ForceDirty="-1"
   198         -				RemoteDirectory="\Program Files\testce"
   199         -				RegisterOutput="0"
   200         -				AdditionalFiles=""
   201         -			/>
   202         -			<DebuggerTool
   203         -			/>
   204         -		</Configuration>
   205         -		<Configuration
   206         -			Name="Release|Itanium"
   207         -			OutputDirectory="ia64\$(ConfigurationName)"
   208         -			IntermediateDirectory="ia64\$(ConfigurationName)"
   209         -			ConfigurationType="2"
   210         -			CharacterSet="2"
   211         -			ManagedExtensions="0"
   212         -			WholeProgramOptimization="1"
   213         -			>
   214         -			<Tool
   215         -				Name="VCPreBuildEventTool"
   216         -				CommandLine=""
   217         -			/>
   218         -			<Tool
   219         -				Name="VCCustomBuildTool"
   220         -			/>
   221         -			<Tool
   222         -				Name="VCXMLDataGeneratorTool"
   223         -			/>
   224         -			<Tool
   225         -				Name="VCWebServiceProxyGeneratorTool"
   226         -			/>
   227         -			<Tool
   228         -				Name="VCMIDLTool"
   229         -				TargetEnvironment="2"
   230         -			/>
   231         -			<Tool
   232         -				Name="VCCLCompilerTool"
   233         -				AdditionalOptions="/GS-"
   234         -				Optimization="2"
   235         -				FavorSizeOrSpeed="1"
   236         -				PreprocessorDefinitions="NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;NO_TCL;THREADSAFE=1;WIN64;SQLITE_HAS_CODEC;SQLITE_ENABLE_COLUMN_METADATA;SQLITE_ENABLE_FTS3;SQLITE_ENABLE_RTREE;SQLITE_ENABLE_LOAD_EXTENSION;SQLITE_SOUNDEX"
   237         -				StringPooling="true"
   238         -				ExceptionHandling="0"
   239         -				BufferSecurityCheck="false"
   240         -				EnableFunctionLevelLinking="true"
   241         -				RuntimeTypeInfo="false"
   242         -			/>
   243         -			<Tool
   244         -				Name="VCManagedResourceCompilerTool"
   245         -				ResourceFileName="$(IntDir)\System.Data.SQLite.$(InputName).resources"
   246         -			/>
   247         -			<Tool
   248         -				Name="VCResourceCompilerTool"
   249         -			/>
   250         -			<Tool
   251         -				Name="VCPreLinkEventTool"
   252         -			/>
   253         -			<Tool
   254         -				Name="VCLinkerTool"
   255         -				AdditionalOptions="/ASSEMBLYRESOURCE:..\System.Data.SQLite\SQLiteCommand.bmp,System.Data.SQLite.SQLiteCommand.bmp&#x0D;&#x0A;/ASSEMBLYRESOURCE:..\System.Data.SQLite\SQLiteConnection.bmp,System.Data.SQLite.SQLiteConnection.bmp&#x0D;&#x0A;/ASSEMBLYRESOURCE:..\System.Data.SQLite\SQLiteDataAdapter.bmp,System.Data.SQLite.SQLiteDataAdapter.bmp"
   256         -				AdditionalDependencies="..\System.Data.SQLite\bin\System.Data.SQLite.netmodule"
   257         -				OutputFile="../bin/Itanium/System.Data.SQLite.DLL"
   258         -				ModuleDefinitionFile="src\sqlite3.def"
   259         -				EmbedManagedResourceFile=""
   260         -				DelayLoadDLLs="advapi32.dll"
   261         -				RandomizedBaseAddress="1"
   262         -				DataExecutionPrevention="0"
   263         -				ImportLibrary=""
   264         -				TargetMachine="5"
   265     80   				KeyFile="..\System.Data.SQLite\System.Data.SQLite.snk"
   266     81   				CLRUnmanagedCodeCheck="true"
   267     82   			/>
   268     83   			<Tool
   269     84   				Name="VCALinkTool"
   270     85   			/>
   271     86   			<Tool
................................................................................
   449    264   			<Tool
   450    265   				Name="VCAppVerifierTool"
   451    266   			/>
   452    267   			<Tool
   453    268   				Name="VCPostBuildEventTool"
   454    269   				CommandLine=""
   455    270   			/>
   456         -		</Configuration>
   457         -		<Configuration
   458         -			Name="Debug|Pocket PC 2003 (ARMV4)"
   459         -			OutputDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
   460         -			IntermediateDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
   461         -			ConfigurationType="2"
   462         -			CharacterSet="1"
   463         -			WholeProgramOptimization="0"
   464         -			>
   465         -			<Tool
   466         -				Name="VCPreBuildEventTool"
   467         -				CommandLine=""
   468         -			/>
   469         -			<Tool
   470         -				Name="VCCustomBuildTool"
   471         -			/>
   472         -			<Tool
   473         -				Name="VCXMLDataGeneratorTool"
   474         -			/>
   475         -			<Tool
   476         -				Name="VCWebServiceProxyGeneratorTool"
   477         -			/>
   478         -			<Tool
   479         -				Name="VCMIDLTool"
   480         -				TargetEnvironment="1"
   481         -			/>
   482         -			<Tool
   483         -				Name="VCCLCompilerTool"
   484         -				ExecutionBucket="7"
   485         -				AdditionalOptions="/GS-"
   486         -				Optimization="0"
   487         -				PreprocessorDefinitions="_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_WINDOWS;_USRDLL;CPPSMART_EXPORTS;$(ARCHFAM);$(_ARCHFAM_);UNICODE;_UNICODE;SQLITE_HAS_CODEC;SQLITE_ENABLE_COLUMN_METADATA;SQLITE_ENABLE_FTS3;SQLITE_ENABLE_RTREE;SQLITE_ENABLE_LOAD_EXTENSION;SQLITE_SOUNDEX;INVALID_FILE_ATTRIBUTES=((DWORD)-1)"
   488         -				DebugInformationFormat="3"
   489         -				InterworkCalls="false"
   490         -			/>
   491         -			<Tool
   492         -				Name="VCManagedResourceCompilerTool"
   493         -			/>
   494         -			<Tool
   495         -				Name="VCResourceCompilerTool"
   496         -				PreprocessorDefinitions="NDEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE"
   497         -				Culture="1033"
   498         -				AdditionalIncludeDirectories="$(IntDir)"
   499         -			/>
   500         -			<Tool
   501         -				Name="VCPreLinkEventTool"
   502         -			/>
   503         -			<Tool
   504         -				Name="VCLinkerTool"
   505         -				IgnoreImportLibrary="true"
   506         -				AdditionalOptions=" /subsystem:windowsce,4.20 /ARMPADCODE"
   507         -				OutputFile="../bin/CompactFramework/$(InputName).065.DLL"
   508         -				AdditionalLibraryDirectories=""
   509         -				IgnoreDefaultLibraryNames=""
   510         -				ModuleDefinitionFile="src\sqlite3.def"
   511         -				AddModuleNamesToAssembly=""
   512         -				EmbedManagedResourceFile=""
   513         -				GenerateDebugInformation="true"
   514         -				SubSystem="8"
   515         -				TargetMachine="3"
   516         -			/>
   517         -			<Tool
   518         -				Name="VCALinkTool"
   519         -			/>
   520         -			<Tool
   521         -				Name="VCXDCMakeTool"
   522         -			/>
   523         -			<Tool
   524         -				Name="VCBscMakeTool"
   525         -			/>
   526         -			<Tool
   527         -				Name="VCFxCopTool"
   528         -			/>
   529         -			<Tool
   530         -				Name="VCCodeSignTool"
   531         -			/>
   532         -			<Tool
   533         -				Name="VCPostBuildEventTool"
   534         -				CommandLine=""
   535         -			/>
   536         -			<DeploymentTool
   537         -				ForceDirty="-1"
   538         -				RemoteDirectory="\Program Files\testce"
   539         -				RegisterOutput="0"
   540         -				AdditionalFiles=""
   541         -			/>
   542         -			<DebuggerTool
   543         -			/>
   544         -		</Configuration>
   545         -		<Configuration
   546         -			Name="Debug|Itanium"
   547         -			OutputDirectory="$(PlatformName)\$(ConfigurationName)"
   548         -			IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
   549         -			ConfigurationType="2"
   550         -			CharacterSet="2"
   551         -			ManagedExtensions="0"
   552         -			WholeProgramOptimization="0"
   553         -			>
   554         -			<Tool
   555         -				Name="VCPreBuildEventTool"
   556         -				CommandLine=""
   557         -			/>
   558         -			<Tool
   559         -				Name="VCCustomBuildTool"
   560         -			/>
   561         -			<Tool
   562         -				Name="VCXMLDataGeneratorTool"
   563         -			/>
   564         -			<Tool
   565         -				Name="VCWebServiceProxyGeneratorTool"
   566         -			/>
   567         -			<Tool
   568         -				Name="VCMIDLTool"
   569         -				TargetEnvironment="2"
   570         -			/>
   571         -			<Tool
   572         -				Name="VCCLCompilerTool"
   573         -				AdditionalOptions="/GS-"
   574         -				Optimization="0"
   575         -				PreprocessorDefinitions="SQLITE_DEBUG;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;NO_TCL;THREADSAFE=1;WIN64;SQLITE_HAS_CODEC;SQLITE_ENABLE_COLUMN_METADATA;SQLITE_ENABLE_FTS3;SQLITE_ENABLE_RTREE;SQLITE_ENABLE_LOAD_EXTENSION;SQLITE_SOUNDEX"
   576         -				RuntimeLibrary="3"
   577         -				RuntimeTypeInfo="false"
   578         -				DebugInformationFormat="3"
   579         -			/>
   580         -			<Tool
   581         -				Name="VCManagedResourceCompilerTool"
   582         -			/>
   583         -			<Tool
   584         -				Name="VCResourceCompilerTool"
   585         -			/>
   586         -			<Tool
   587         -				Name="VCPreLinkEventTool"
   588         -			/>
   589         -			<Tool
   590         -				Name="VCLinkerTool"
   591         -				OutputFile="../bin/Itanium/$(InputName).DLL"
   592         -				ModuleDefinitionFile="src\sqlite3.def"
   593         -				EmbedManagedResourceFile=""
   594         -				DelayLoadDLLs="advapi32.dll"
   595         -				GenerateDebugInformation="true"
   596         -				RandomizedBaseAddress="1"
   597         -				DataExecutionPrevention="0"
   598         -				ImportLibrary=""
   599         -				TargetMachine="5"
   600         -				KeyFile="..\System.Data.SQLite\System.Data.SQLite.snk"
   601         -			/>
   602         -			<Tool
   603         -				Name="VCALinkTool"
   604         -			/>
   605         -			<Tool
   606         -				Name="VCManifestTool"
   607         -				EmbedManifest="true"
   608         -			/>
   609         -			<Tool
   610         -				Name="VCXDCMakeTool"
   611         -			/>
   612         -			<Tool
   613         -				Name="VCBscMakeTool"
   614         -			/>
   615         -			<Tool
   616         -				Name="VCFxCopTool"
   617         -			/>
   618         -			<Tool
   619         -				Name="VCAppVerifierTool"
   620         -			/>
   621         -			<Tool
   622         -				Name="VCPostBuildEventTool"
   623         -			/>
   624    271   		</Configuration>
   625    272   		<Configuration
   626    273   			Name="Debug|x64"
   627    274   			OutputDirectory="$(PlatformName)\$(ConfigurationName)"
   628    275   			IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
   629    276   			ConfigurationType="2"
   630    277   			CharacterSet="2"
................................................................................
   778    425   			<Tool
   779    426   				Name="VCAppVerifierTool"
   780    427   			/>
   781    428   			<Tool
   782    429   				Name="VCPostBuildEventTool"
   783    430   				CommandLine=""
   784    431   			/>
   785         -		</Configuration>
   786         -		<Configuration
   787         -			Name="StockDebug|Pocket PC 2003 (ARMV4)"
   788         -			OutputDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
   789         -			IntermediateDirectory="Pocket PC 2003 (ARMV4)\$(ConfigurationName)"
   790         -			ConfigurationType="2"
   791         -			CharacterSet="1"
   792         -			WholeProgramOptimization="0"
   793         -			>
   794         -			<Tool
   795         -				Name="VCPreBuildEventTool"
   796         -				CommandLine=""
   797         -			/>
   798         -			<Tool
   799         -				Name="VCCustomBuildTool"
   800         -			/>
   801         -			<Tool
   802         -				Name="VCXMLDataGeneratorTool"
   803         -			/>
   804         -			<Tool
   805         -				Name="VCWebServiceProxyGeneratorTool"
   806         -			/>
   807         -			<Tool
   808         -				Name="VCMIDLTool"
   809         -				TargetEnvironment="1"
   810         -			/>
   811         -			<Tool
   812         -				Name="VCCLCompilerTool"
   813         -				ExecutionBucket="7"
   814         -				AdditionalOptions="/GS-"
   815         -				Optimization="0"
   816         -				PreprocessorDefinitions="SQLITE_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER);WINCE;$(PLATFORMDEFINES);_DEBUG;_WINDOWS;_USRDLL;CPPSMART_EXPORTS;$(ARCHFAM);$(_ARCHFAM_);UNICODE;_UNICODE;SQLITE_HAS_CODEC;SQLITE_ENABLE_COLUMN_METADATA;SQLITE_ENABLE_FTS3;SQLITE_ENABLE_RTREE;SQLITE_ENABLE_LOAD_EXTENSION;SQLITE_SOUNDEX;SQLITE_CORE;INVALID_FILE_ATTRIBUTES=((DWORD)-1)"
   817         -				DebugInformationFormat="3"
   818         -				InterworkCalls="true"
   819         -			/>
   820         -			<Tool
   821         -				Name="VCManagedResourceCompilerTool"
   822         -			/>
   823         -			<Tool
   824         -				Name="VCResourceCompilerTool"
   825         -				PreprocessorDefinitions="NDEBUG;_UNICODE;UNICODE;_WIN32_WCE;UNDER_CE"
   826         -				Culture="1033"
   827         -				AdditionalIncludeDirectories="$(IntDir)"
   828         -			/>
   829         -			<Tool
   830         -				Name="VCPreLinkEventTool"
   831         -			/>
   832         -			<Tool
   833         -				Name="VCLinkerTool"
   834         -				IgnoreImportLibrary="true"
   835         -				AdditionalOptions=" /subsystem:windowsce,4.20 /machine:ARM /ARMPADCODE"
   836         -				OutputFile="../bin/CompactFramework/sqlite3.dll"
   837         -				AdditionalLibraryDirectories=""
   838         -				IgnoreDefaultLibraryNames=""
   839         -				ModuleDefinitionFile="src\sqlite3.def"
   840         -				AddModuleNamesToAssembly=""
   841         -				EmbedManagedResourceFile=""
   842         -				GenerateDebugInformation="true"
   843         -				TargetMachine="0"
   844         -			/>
   845         -			<Tool
   846         -				Name="VCALinkTool"
   847         -			/>
   848         -			<Tool
   849         -				Name="VCXDCMakeTool"
   850         -			/>
   851         -			<Tool
   852         -				Name="VCBscMakeTool"
   853         -			/>
   854         -			<Tool
   855         -				Name="VCFxCopTool"
   856         -			/>
   857         -			<Tool
   858         -				Name="VCCodeSignTool"
   859         -			/>
   860         -			<Tool
   861         -				Name="VCPostBuildEventTool"
   862         -				CommandLine=""
   863         -			/>
   864         -			<DeploymentTool
   865         -				ForceDirty="-1"
   866         -				RemoteDirectory="\Program Files\testce"
   867         -				RegisterOutput="0"
   868         -				AdditionalFiles=""
   869         -			/>
   870         -			<DebuggerTool
   871         -			/>
   872         -		</Configuration>
   873         -		<Configuration
   874         -			Name="StockDebug|Itanium"
   875         -			OutputDirectory="$(PlatformName)\$(ConfigurationName)"
   876         -			IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
   877         -			ConfigurationType="2"
   878         -			CharacterSet="2"
   879         -			ManagedExtensions="0"
   880         -			WholeProgramOptimization="0"
   881         -			>
   882         -			<Tool
   883         -				Name="VCPreBuildEventTool"
   884         -				CommandLine=""
   885         -			/>
   886         -			<Tool
   887         -				Name="VCCustomBuildTool"
   888         -			/>
   889         -			<Tool
   890         -				Name="VCXMLDataGeneratorTool"
   891         -			/>
   892         -			<Tool
   893         -				Name="VCWebServiceProxyGeneratorTool"
   894         -			/>
   895         -			<Tool
   896         -				Name="VCMIDLTool"
   897         -				TargetEnvironment="2"
   898         -			/>
   899         -			<Tool
   900         -				Name="VCCLCompilerTool"
   901         -				AdditionalOptions="/GS-"
   902         -				Optimization="0"
   903         -				PreprocessorDefinitions="SQLITE_DEBUG;_DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;NO_TCL;THREADSAFE=1;WIN64;SQLITE_HAS_CODEC;SQLITE_ENABLE_COLUMN_METADATA;SQLITE_ENABLE_FTS3;SQLITE_ENABLE_RTREE;SQLITE_ENABLE_LOAD_EXTENSION;SQLITE_SOUNDEX"
   904         -				RuntimeLibrary="3"
   905         -				RuntimeTypeInfo="false"
   906         -				DebugInformationFormat="3"
   907         -			/>
   908         -			<Tool
   909         -				Name="VCManagedResourceCompilerTool"
   910         -			/>
   911         -			<Tool
   912         -				Name="VCResourceCompilerTool"
   913         -			/>
   914         -			<Tool
   915         -				Name="VCPreLinkEventTool"
   916         -			/>
   917         -			<Tool
   918         -				Name="VCLinkerTool"
   919         -				OutputFile="../bin/Itanium/$(InputName).DLL"
   920         -				ModuleDefinitionFile="src\sqlite3.def"
   921         -				EmbedManagedResourceFile=""
   922         -				DelayLoadDLLs="advapi32.dll"
   923         -				GenerateDebugInformation="true"
   924         -				RandomizedBaseAddress="1"
   925         -				DataExecutionPrevention="0"
   926         -				ImportLibrary=""
   927         -				TargetMachine="5"
   928         -				KeyFile="..\System.Data.SQLite\System.Data.SQLite.snk"
   929         -			/>
   930         -			<Tool
   931         -				Name="VCALinkTool"
   932         -			/>
   933         -			<Tool
   934         -				Name="VCManifestTool"
   935         -				EmbedManifest="true"
   936         -			/>
   937         -			<Tool
   938         -				Name="VCXDCMakeTool"
   939         -			/>
   940         -			<Tool
   941         -				Name="VCBscMakeTool"
   942         -			/>
   943         -			<Tool
   944         -				Name="VCFxCopTool"
   945         -			/>
   946         -			<Tool
   947         -				Name="VCAppVerifierTool"
   948         -			/>
   949         -			<Tool
   950         -				Name="VCPostBuildEventTool"
   951         -			/>
   952    432   		</Configuration>
   953    433   		<Configuration
   954    434   			Name="StockDebug|x64"
   955    435   			OutputDirectory="$(PlatformName)\$(ConfigurationName)"
   956    436   			IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
   957    437   			ConfigurationType="2"
   958    438   			CharacterSet="2"
................................................................................
  1065    545   				<FileConfiguration
  1066    546   					Name="Release|Win32"
  1067    547   					>
  1068    548   					<Tool
  1069    549   						Name="VCManagedResourceCompilerTool"
  1070    550   						ResourceFileName="$(IntDir)\System.Data.SQLite.$(InputName).resources"
  1071    551   					/>
  1072         -				</FileConfiguration>
  1073         -				<FileConfiguration
  1074         -					Name="Release|Pocket PC 2003 (ARMV4)"
  1075         -					ExcludedFromBuild="true"
  1076         -					>
  1077         -					<Tool
  1078         -						Name="VCManagedResourceCompilerTool"
  1079         -						ResourceFileName="$(IntDir)\System.Data.SQLite.$(InputName).resources"
  1080         -					/>
  1081         -				</FileConfiguration>
  1082         -				<FileConfiguration
  1083         -					Name="Release|Itanium"
  1084         -					>
  1085         -					<Tool
  1086         -						Name="VCManagedResourceCompilerTool"
  1087         -						ResourceFileName="$(IntDir)\System.Data.SQLite.$(InputName).resources"
  1088         -					/>
  1089    552   				</FileConfiguration>
  1090    553   				<FileConfiguration
  1091    554   					Name="Release|x64"
  1092    555   					>
  1093    556   					<Tool
  1094    557   						Name="VCManagedResourceCompilerTool"
  1095    558   						ResourceFileName="$(IntDir)\System.Data.SQLite.$(InputName).resources"
................................................................................
  1098    561   				<FileConfiguration
  1099    562   					Name="Debug|Win32"
  1100    563   					ExcludedFromBuild="true"
  1101    564   					>
  1102    565   					<Tool
  1103    566   						Name="VCManagedResourceCompilerTool"
  1104    567   					/>
  1105         -				</FileConfiguration>
  1106         -				<FileConfiguration
  1107         -					Name="Debug|Pocket PC 2003 (ARMV4)"
  1108         -					ExcludedFromBuild="true"
  1109         -					>
  1110         -					<Tool
  1111         -						Name="VCManagedResourceCompilerTool"
  1112         -					/>
  1113         -				</FileConfiguration>
  1114         -				<FileConfiguration
  1115         -					Name="Debug|Itanium"
  1116         -					ExcludedFromBuild="true"
  1117         -					>
  1118         -					<Tool
  1119         -						Name="VCManagedResourceCompilerTool"
  1120         -					/>
  1121    568   				</FileConfiguration>
  1122    569   				<FileConfiguration
  1123    570   					Name="Debug|x64"
  1124    571   					ExcludedFromBuild="true"
  1125    572   					>
  1126    573   					<Tool
  1127    574   						Name="VCManagedResourceCompilerTool"
  1128    575   					/>
  1129    576   				</FileConfiguration>
  1130    577   				<FileConfiguration
  1131    578   					Name="StockDebug|Win32"
  1132    579   					ExcludedFromBuild="true"
  1133    580   					>
  1134         -					<Tool
  1135         -						Name="VCManagedResourceCompilerTool"
  1136         -					/>
  1137         -				</FileConfiguration>
  1138         -				<FileConfiguration
  1139         -					Name="StockDebug|Pocket PC 2003 (ARMV4)"
  1140         -					ExcludedFromBuild="true"
  1141         -					>
  1142         -					<Tool
  1143         -						Name="VCManagedResourceCompilerTool"
  1144         -					/>
  1145         -				</FileConfiguration>
  1146         -				<FileConfiguration
  1147         -					Name="StockDebug|Itanium"
  1148         -					ExcludedFromBuild="true"
  1149         -					>
  1150    581   					<Tool
  1151    582   						Name="VCManagedResourceCompilerTool"
  1152    583   					/>
  1153    584   				</FileConfiguration>
  1154    585   				<FileConfiguration
  1155    586   					Name="StockDebug|x64"
  1156    587   					ExcludedFromBuild="true"

Changes to SQLite.NET.sln.

     1      1   
     2         -Microsoft Visual Studio Solution File, Format Version 10.00
     3         -# Visual Studio 2008
            2  +Microsoft Visual Studio Solution File, Format Version 11.00
            3  +# Visual Studio 2010
     4      4   Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{39A3B743-1EBD-4CC0-8E37-ACE3DD38B1C0}"
     5      5   	ProjectSection(SolutionItems) = preProject
     6      6   		readme.htm = readme.htm
     7      7   	EndProjectSection
     8      8   EndProject
     9         -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Data.SQLite - Compact", "System.Data.SQLite\System.Data.SQLite - Compact.csproj", "{AC139951-261A-4463-B6FA-AEBC25283A66}"
    10         -EndProject
    11      9   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test", "test\test.csproj", "{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}"
    12     10   	ProjectSection(ProjectDependencies) = postProject
    13     11   		{10B51CE8-A838-44DE-BD82-B658F0296F80} = {10B51CE8-A838-44DE-BD82-B658F0296F80}
    14     12   	EndProjectSection
    15     13   EndProject
    16         -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SQLite.Interop", "SQLite.Interop\SQLite.Interop.vcproj", "{10B51CE8-A838-44DE-BD82-B658F0296F80}"
    17         -	ProjectSection(ProjectDependencies) = postProject
    18         -		{AC139951-261A-4463-B6FA-AEBC25283A66} = {AC139951-261A-4463-B6FA-AEBC25283A66}
    19         -		{AC139952-261A-4463-B6FA-AEBC25283A66} = {AC139952-261A-4463-B6FA-AEBC25283A66}
    20         -		{AC139952-261A-4463-B6FA-AEBC25284A66} = {AC139952-261A-4463-B6FA-AEBC25284A66}
    21         -	EndProjectSection
    22         -EndProject
    23         -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "testce", "testce\testce.csproj", "{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}"
    24         -	ProjectSection(ProjectDependencies) = postProject
    25         -		{AC139951-261A-4463-B6FA-AEBC25283A66} = {AC139951-261A-4463-B6FA-AEBC25283A66}
    26         -		{10B51CE8-A838-44DE-BD82-B658F0296F80} = {10B51CE8-A838-44DE-BD82-B658F0296F80}
    27         -	EndProjectSection
           14  +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SQLite.Interop", "SQLite.Interop\SQLite.Interop.vcxproj", "{10B51CE8-A838-44DE-BD82-B658F0296F80}"
    28     15   EndProject
    29     16   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Data.SQLite - ManagedOnly", "System.Data.SQLite\System.Data.SQLite - ManagedOnly.csproj", "{AC139952-261A-4463-B6FA-AEBC25283A66}"
    30     17   EndProject
    31     18   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Data.SQLite.Linq", "System.Data.SQLite.Linq\System.Data.SQLite.Linq.csproj", "{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}"
    32     19   	ProjectSection(ProjectDependencies) = postProject
    33     20   		{10B51CE8-A838-44DE-BD82-B658F0296F80} = {10B51CE8-A838-44DE-BD82-B658F0296F80}
    34     21   	EndProjectSection
................................................................................
    38     25   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D} = {E6BF9F74-58E2-413B-A7CE-EA653ECB728D}
    39     26   	EndProjectSection
    40     27   EndProject
    41     28   Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Data.SQLite - Netmodule", "System.Data.SQLite\System.Data.SQLite - Netmodule.csproj", "{AC139952-261A-4463-B6FA-AEBC25284A66}"
    42     29   EndProject
    43     30   Global
    44     31   	GlobalSection(SolutionConfigurationPlatforms) = preSolution
    45         -		Debug - Stock|Compact Framework (ARMV4) = Debug - Stock|Compact Framework (ARMV4)
    46         -		Debug - Stock|Itanium = Debug - Stock|Itanium
    47     32   		Debug - Stock|Win32 = Debug - Stock|Win32
    48     33   		Debug - Stock|x64 = Debug - Stock|x64
    49         -		Debug|Compact Framework (ARMV4) = Debug|Compact Framework (ARMV4)
    50         -		Debug|Itanium = Debug|Itanium
    51     34   		Debug|Win32 = Debug|Win32
    52     35   		Debug|x64 = Debug|x64
    53         -		Release - Stock|Compact Framework (ARMV4) = Release - Stock|Compact Framework (ARMV4)
    54         -		Release - Stock|Itanium = Release - Stock|Itanium
    55     36   		Release - Stock|Win32 = Release - Stock|Win32
    56     37   		Release - Stock|x64 = Release - Stock|x64
    57         -		Release|Compact Framework (ARMV4) = Release|Compact Framework (ARMV4)
    58         -		Release|Itanium = Release|Itanium
    59     38   		Release|Win32 = Release|Win32
    60     39   		Release|x64 = Release|x64
    61     40   	EndGlobalSection
    62     41   	GlobalSection(ProjectConfigurationPlatforms) = postSolution
    63         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Debug - Stock|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
    64         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Debug - Stock|Compact Framework (ARMV4).Build.0 = Debug|Any CPU
    65         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Debug - Stock|Itanium.ActiveCfg = Debug|Any CPU
    66         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Debug - Stock|Win32.ActiveCfg = Debug|Any CPU
    67         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Debug - Stock|x64.ActiveCfg = Debug|Any CPU
    68         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Debug|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
    69         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Debug|Compact Framework (ARMV4).Build.0 = Debug|Any CPU
    70         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Debug|Itanium.ActiveCfg = Debug|Any CPU
    71         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Debug|Win32.ActiveCfg = Debug|Any CPU
    72         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Debug|x64.ActiveCfg = Debug|Any CPU
    73         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Release - Stock|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
    74         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Release - Stock|Compact Framework (ARMV4).Build.0 = Release|Any CPU
    75         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Release - Stock|Itanium.ActiveCfg = Release|Any CPU
    76         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Release - Stock|Win32.ActiveCfg = Release|Any CPU
    77         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Release - Stock|x64.ActiveCfg = Release|Any CPU
    78         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Release|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
    79         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Release|Compact Framework (ARMV4).Build.0 = Release|Any CPU
    80         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Release|Itanium.ActiveCfg = Release|Any CPU
    81         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Release|Win32.ActiveCfg = Release|Any CPU
    82         -		{AC139951-261A-4463-B6FA-AEBC25283A66}.Release|x64.ActiveCfg = Release|Any CPU
    83         -		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug - Stock|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
    84         -		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug - Stock|Itanium.ActiveCfg = Debug|Itanium
    85         -		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug - Stock|Itanium.Build.0 = Debug|Itanium
    86     42   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug - Stock|Win32.ActiveCfg = Debug|Any CPU
    87     43   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug - Stock|Win32.Build.0 = Debug|Any CPU
    88     44   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug - Stock|x64.ActiveCfg = Debug|x64
    89     45   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug - Stock|x64.Build.0 = Debug|x64
    90         -		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
    91         -		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug|Itanium.ActiveCfg = Debug|Itanium
    92         -		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug|Itanium.Build.0 = Debug|Itanium
    93     46   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug|Win32.ActiveCfg = Debug|x86
    94     47   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug|Win32.Build.0 = Debug|x86
    95     48   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug|x64.ActiveCfg = Debug|x64
    96     49   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Debug|x64.Build.0 = Debug|x64
    97         -		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release - Stock|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
    98         -		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release - Stock|Itanium.ActiveCfg = Release|Itanium
    99         -		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release - Stock|Itanium.Build.0 = Release|Itanium
   100     50   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release - Stock|Win32.ActiveCfg = Release|Any CPU
   101     51   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release - Stock|Win32.Build.0 = Release|Any CPU
   102     52   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release - Stock|x64.ActiveCfg = Release|x64
   103     53   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release - Stock|x64.Build.0 = Release|x64
   104         -		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
   105         -		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release|Itanium.ActiveCfg = Release|Itanium
   106         -		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release|Itanium.Build.0 = Release|Itanium
   107     54   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release|Win32.ActiveCfg = Release|x86
   108     55   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release|Win32.Build.0 = Release|x86
   109     56   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release|x64.ActiveCfg = Release|x64
   110     57   		{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}.Release|x64.Build.0 = Release|x64
   111         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug - Stock|Compact Framework (ARMV4).ActiveCfg = StockDebug|Pocket PC 2003 (ARMV4)
   112         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug - Stock|Compact Framework (ARMV4).Build.0 = StockDebug|Pocket PC 2003 (ARMV4)
   113         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug - Stock|Compact Framework (ARMV4).Deploy.0 = StockDebug|Pocket PC 2003 (ARMV4)
   114         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug - Stock|Itanium.ActiveCfg = Debug|Itanium
   115         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug - Stock|Itanium.Deploy.0 = Debug|Itanium
   116     58   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug - Stock|Win32.ActiveCfg = StockDebug|Win32
   117     59   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug - Stock|Win32.Deploy.0 = StockDebug|Win32
   118     60   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug - Stock|x64.ActiveCfg = Debug|x64
   119     61   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug - Stock|x64.Deploy.0 = Debug|x64
   120         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug|Compact Framework (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
   121         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug|Compact Framework (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4)
   122         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug|Compact Framework (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4)
   123         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug|Itanium.ActiveCfg = Debug|Itanium
   124         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug|Itanium.Build.0 = Debug|Itanium
   125         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug|Itanium.Deploy.0 = Debug|Itanium
   126     62   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug|Win32.ActiveCfg = Debug|Win32
   127     63   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug|Win32.Build.0 = Debug|Win32
   128     64   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug|Win32.Deploy.0 = Debug|Win32
   129     65   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug|x64.ActiveCfg = Debug|x64
   130     66   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug|x64.Build.0 = Debug|x64
   131     67   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Debug|x64.Deploy.0 = Debug|x64
   132         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release - Stock|Compact Framework (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4)
   133         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release - Stock|Compact Framework (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4)
   134         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release - Stock|Compact Framework (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4)
   135         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release - Stock|Itanium.ActiveCfg = Release|Itanium
   136     68   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release - Stock|Win32.ActiveCfg = Release|Win32
   137     69   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release - Stock|x64.ActiveCfg = Release|x64
   138         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release|Compact Framework (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4)
   139         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release|Compact Framework (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4)
   140         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release|Itanium.ActiveCfg = Release|Itanium
   141         -		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release|Itanium.Build.0 = Release|Itanium
   142     70   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release|Win32.ActiveCfg = Release|Win32
   143     71   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release|Win32.Build.0 = Release|Win32
   144     72   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release|x64.ActiveCfg = Release|x64
   145     73   		{10B51CE8-A838-44DE-BD82-B658F0296F80}.Release|x64.Build.0 = Release|x64
   146         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Debug - Stock|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
   147         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Debug - Stock|Compact Framework (ARMV4).Build.0 = Debug|Any CPU
   148         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Debug - Stock|Compact Framework (ARMV4).Deploy.0 = Debug|Any CPU
   149         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Debug - Stock|Itanium.ActiveCfg = Debug|Any CPU
   150         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Debug - Stock|Win32.ActiveCfg = Debug|Any CPU
   151         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Debug - Stock|x64.ActiveCfg = Debug|Any CPU
   152         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Debug|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
   153         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Debug|Compact Framework (ARMV4).Build.0 = Debug|Any CPU
   154         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Debug|Compact Framework (ARMV4).Deploy.0 = Debug|Any CPU
   155         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Debug|Itanium.ActiveCfg = Debug|Any CPU
   156         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Debug|Win32.ActiveCfg = Debug|Any CPU
   157         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Debug|x64.ActiveCfg = Debug|Any CPU
   158         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Release - Stock|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
   159         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Release - Stock|Compact Framework (ARMV4).Build.0 = Release|Any CPU
   160         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Release - Stock|Compact Framework (ARMV4).Deploy.0 = Release|Any CPU
   161         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Release - Stock|Itanium.ActiveCfg = Release|Any CPU
   162         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Release - Stock|Win32.ActiveCfg = Release|Any CPU
   163         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Release - Stock|x64.ActiveCfg = Release|Any CPU
   164         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Release|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
   165         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Release|Compact Framework (ARMV4).Build.0 = Release|Any CPU
   166         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Release|Compact Framework (ARMV4).Deploy.0 = Release|Any CPU
   167         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Release|Itanium.ActiveCfg = Release|Any CPU
   168         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Release|Win32.ActiveCfg = Release|Any CPU
   169         -		{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}.Release|x64.ActiveCfg = Release|Any CPU
   170         -		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug - Stock|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
   171         -		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug - Stock|Itanium.ActiveCfg = Debug|Any CPU
   172         -		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug - Stock|Itanium.Build.0 = Debug|Any CPU
   173     74   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug - Stock|Win32.ActiveCfg = StockDebug|Any CPU
   174     75   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug - Stock|Win32.Build.0 = StockDebug|Any CPU
   175     76   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug - Stock|x64.ActiveCfg = Debug|Any CPU
   176     77   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug - Stock|x64.Build.0 = Debug|Any CPU
   177         -		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
   178         -		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug|Itanium.ActiveCfg = Debug|Any CPU
   179         -		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug|Itanium.Build.0 = Debug|Any CPU
   180     78   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug|Win32.ActiveCfg = Debug|Any CPU
   181     79   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug|Win32.Build.0 = Debug|Any CPU
   182     80   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug|x64.ActiveCfg = Debug|Any CPU
   183     81   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Debug|x64.Build.0 = Debug|Any CPU
   184         -		{AC139952-261A-4463-B6FA-AEBC25283A66}.Release - Stock|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
   185         -		{AC139952-261A-4463-B6FA-AEBC25283A66}.Release - Stock|Itanium.ActiveCfg = Release|Any CPU
   186         -		{AC139952-261A-4463-B6FA-AEBC25283A66}.Release - Stock|Itanium.Build.0 = Release|Any CPU
   187     82   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Release - Stock|Win32.ActiveCfg = StockRelease|Any CPU
   188     83   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Release - Stock|Win32.Build.0 = StockRelease|Any CPU
   189     84   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Release - Stock|x64.ActiveCfg = Release|Any CPU
   190     85   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Release - Stock|x64.Build.0 = Release|Any CPU
   191         -		{AC139952-261A-4463-B6FA-AEBC25283A66}.Release|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
   192         -		{AC139952-261A-4463-B6FA-AEBC25283A66}.Release|Itanium.ActiveCfg = Release|Any CPU
   193     86   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Release|Win32.ActiveCfg = Release|Any CPU
   194     87   		{AC139952-261A-4463-B6FA-AEBC25283A66}.Release|x64.ActiveCfg = Release|Any CPU
   195         -		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug - Stock|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
   196         -		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug - Stock|Itanium.ActiveCfg = Debug|Any CPU
   197         -		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug - Stock|Itanium.Build.0 = Debug|Any CPU
   198     88   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug - Stock|Win32.ActiveCfg = Debug|Any CPU
   199     89   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug - Stock|Win32.Build.0 = Debug|Any CPU
   200     90   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug - Stock|x64.ActiveCfg = Debug|Any CPU
   201     91   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug - Stock|x64.Build.0 = Debug|Any CPU
   202         -		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
   203         -		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug|Itanium.ActiveCfg = Debug|Any CPU
   204         -		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug|Itanium.Build.0 = Debug|Any CPU
   205     92   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug|Win32.ActiveCfg = Debug|Any CPU
   206     93   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug|Win32.Build.0 = Debug|Any CPU
   207     94   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug|x64.ActiveCfg = Debug|Any CPU
   208     95   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Debug|x64.Build.0 = Debug|Any CPU
   209         -		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release - Stock|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
   210         -		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release - Stock|Itanium.ActiveCfg = Release|Any CPU
   211         -		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release - Stock|Itanium.Build.0 = Release|Any CPU
   212     96   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release - Stock|Win32.ActiveCfg = Release|Any CPU
   213     97   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release - Stock|Win32.Build.0 = Release|Any CPU
   214     98   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release - Stock|x64.ActiveCfg = Release|Any CPU
   215     99   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release - Stock|x64.Build.0 = Release|Any CPU
   216         -		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
   217         -		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release|Itanium.ActiveCfg = Release|Any CPU
   218         -		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release|Itanium.Build.0 = Release|Any CPU
   219    100   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release|Win32.ActiveCfg = Release|Any CPU
   220    101   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release|Win32.Build.0 = Release|Any CPU
   221    102   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release|x64.ActiveCfg = Release|Any CPU
   222    103   		{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}.Release|x64.Build.0 = Release|Any CPU
   223         -		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Debug - Stock|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
   224         -		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Debug - Stock|Itanium.ActiveCfg = Debug|Any CPU
   225    104   		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Debug - Stock|Win32.ActiveCfg = Debug|Any CPU
   226    105   		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Debug - Stock|x64.ActiveCfg = Debug|Any CPU
   227         -		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Debug|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
   228         -		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Debug|Itanium.ActiveCfg = Debug|Any CPU
   229    106   		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Debug|Win32.ActiveCfg = Debug|Any CPU
   230    107   		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Debug|x64.ActiveCfg = Debug|Any CPU
   231         -		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Release - Stock|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
   232         -		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Release - Stock|Itanium.ActiveCfg = Release|Any CPU
   233    108   		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Release - Stock|Win32.ActiveCfg = Release|Any CPU
   234    109   		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Release - Stock|x64.ActiveCfg = Release|Any CPU
   235         -		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Release|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
   236         -		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Release|Itanium.ActiveCfg = Release|Any CPU
   237    110   		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Release|Win32.ActiveCfg = Release|Any CPU
   238    111   		{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}.Release|x64.ActiveCfg = Release|Any CPU
   239         -		{AC139952-261A-4463-B6FA-AEBC25284A66}.Debug - Stock|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
   240         -		{AC139952-261A-4463-B6FA-AEBC25284A66}.Debug - Stock|Itanium.ActiveCfg = Debug|Any CPU
   241    112   		{AC139952-261A-4463-B6FA-AEBC25284A66}.Debug - Stock|Win32.ActiveCfg = Debug|Any CPU
   242    113   		{AC139952-261A-4463-B6FA-AEBC25284A66}.Debug - Stock|x64.ActiveCfg = Debug|Any CPU
   243         -		{AC139952-261A-4463-B6FA-AEBC25284A66}.Debug|Compact Framework (ARMV4).ActiveCfg = Debug|Any CPU
   244         -		{AC139952-261A-4463-B6FA-AEBC25284A66}.Debug|Itanium.ActiveCfg = Debug|Any CPU
   245    114   		{AC139952-261A-4463-B6FA-AEBC25284A66}.Debug|Win32.ActiveCfg = Debug|Any CPU
   246    115   		{AC139952-261A-4463-B6FA-AEBC25284A66}.Debug|x64.ActiveCfg = Debug|Any CPU
   247         -		{AC139952-261A-4463-B6FA-AEBC25284A66}.Release - Stock|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
   248         -		{AC139952-261A-4463-B6FA-AEBC25284A66}.Release - Stock|Itanium.ActiveCfg = Release|Any CPU
   249    116   		{AC139952-261A-4463-B6FA-AEBC25284A66}.Release - Stock|Win32.ActiveCfg = Release|Any CPU
   250    117   		{AC139952-261A-4463-B6FA-AEBC25284A66}.Release - Stock|x64.ActiveCfg = Release|Any CPU
   251         -		{AC139952-261A-4463-B6FA-AEBC25284A66}.Release|Compact Framework (ARMV4).ActiveCfg = Release|Any CPU
   252         -		{AC139952-261A-4463-B6FA-AEBC25284A66}.Release|Itanium.ActiveCfg = Release|Any CPU
   253         -		{AC139952-261A-4463-B6FA-AEBC25284A66}.Release|Itanium.Build.0 = Release|Any CPU
   254    118   		{AC139952-261A-4463-B6FA-AEBC25284A66}.Release|Win32.ActiveCfg = Release|Any CPU
   255    119   		{AC139952-261A-4463-B6FA-AEBC25284A66}.Release|Win32.Build.0 = Release|Any CPU
   256    120   		{AC139952-261A-4463-B6FA-AEBC25284A66}.Release|x64.ActiveCfg = Release|Any CPU
   257    121   		{AC139952-261A-4463-B6FA-AEBC25284A66}.Release|x64.Build.0 = Release|Any CPU
   258    122   	EndGlobalSection
   259    123   	GlobalSection(SolutionProperties) = preSolution
   260    124   		HideSolutionNode = FALSE
   261    125   	EndGlobalSection
   262    126   EndGlobal

Changes to SQLite.NET.suo.

cannot compute difference between binary files

Changes to System.Data.SQLite.Linq/AssemblyInfo.cs.

     6      6   using System.Security;
     7      7   using System.Runtime.ConstrainedExecution;
     8      8   
     9      9   // General Information about an assembly is controlled through the following 
    10     10   // set of attributes. Change these attribute values to modify the information
    11     11   // associated with an assembly.
    12     12   [assembly: AssemblyTitle("System.Data.SQLite.Linq")]
    13         -[assembly: AssemblyDescription("ADO.NET 3.5SP1 Entity Framework support for SQLite")]
           13  +[assembly: AssemblyDescription("ADO.NET 4.0 Entity Framework support for SQLite")]
    14     14   [assembly: AssemblyConfiguration("")]
    15     15   [assembly: AssemblyCompany("http://sqlite.phxsoftware.com")]
    16     16   [assembly: AssemblyProduct("System.Data.SQLite")]
    17     17   [assembly: AssemblyCopyright("Public Domain")]
    18     18   [assembly: AssemblyTrademark("")]
    19     19   [assembly: AssemblyCulture("")]
    20     20   
................................................................................
    21     21   // Setting ComVisible to false makes the types in this assembly not visible 
    22     22   // to COM components.  If you need to access a type in this assembly from 
    23     23   // COM, set the ComVisible attribute to true on that type.
    24     24   [assembly: ComVisible(false)]
    25     25   [assembly: CLSCompliant(true)]
    26     26   [assembly: AllowPartiallyTrustedCallers]
    27     27   [assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
    28         -[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
    29     28   
    30     29   // Version information for an assembly consists of the following four values:
    31     30   //
    32     31   //      Major Version
    33     32   //      Minor Version 
    34     33   //      Build Number
    35     34   //      Revision
    36     35   //
    37     36   // You can specify all the values or you can default the Build and Revision Numbers 
    38     37   // by using the '*' as shown below:
    39     38   // [assembly: AssemblyVersion("1.0.*")]
    40         -[assembly: AssemblyVersion("2.0.38.0")]
    41         -[assembly: AssemblyFileVersion("2.0.38.0")]
           39  +[assembly: AssemblyVersion("1.0.38.1")]
           40  +[assembly: AssemblyFileVersion("1.0.38.1")]

Changes to System.Data.SQLite.Linq/Properties/Resources.Designer.cs.

     1      1   //------------------------------------------------------------------------------
     2      2   // <auto-generated>
     3      3   //     This code was generated by a tool.
     4         -//     Runtime Version:2.0.50727.3053
            4  +//     Runtime Version:4.0.30319.1
     5      5   //
     6      6   //     Changes to this file may cause incorrect behavior and will be lost if
     7      7   //     the code is regenerated.
     8      8   // </auto-generated>
     9      9   //------------------------------------------------------------------------------
    10     10   
    11     11   namespace System.Data.SQLite.Properties {
................................................................................
    15     15       /// <summary>
    16     16       ///   A strongly-typed resource class, for looking up localized strings, etc.
    17     17       /// </summary>
    18     18       // This class was auto-generated by the StronglyTypedResourceBuilder
    19     19       // class via a tool like ResGen or Visual Studio.
    20     20       // To add or remove a member, edit your .ResX file then rerun ResGen
    21     21       // with the /str option, or rebuild your VS project.
    22         -    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
           22  +    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
    23     23       [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    24     24       [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    25     25       internal class Resources {
    26     26           
    27     27           private static global::System.Resources.ResourceManager resourceMan;
    28     28           
    29     29           private static global::System.Globalization.CultureInfo resourceCulture;

Changes to System.Data.SQLite.Linq/System.Data.SQLite.Linq.csproj.

     1      1   <?xml version="1.0" encoding="utf-8"?>
     2         -<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
            2  +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     3      3     <PropertyGroup>
     4      4       <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     5      5       <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     6      6       <ProductVersion>9.0.30729</ProductVersion>
     7      7       <SchemaVersion>2.0</SchemaVersion>
     8      8       <ProjectGuid>{E6BF9F74-58E2-413B-A7CE-EA653ECB728D}</ProjectGuid>
     9      9       <OutputType>Library</OutputType>
    10     10       <AppDesignerFolder>Properties</AppDesignerFolder>
    11     11       <RootNamespace>System.Data.SQLite</RootNamespace>
    12     12       <AssemblyName>System.Data.SQLite.Linq</AssemblyName>
    13         -    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
           13  +    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    14     14       <FileAlignment>512</FileAlignment>
    15         -    <TargetFrameworkSubset>Full</TargetFrameworkSubset>
    16     15       <SignAssembly>true</SignAssembly>
    17     16       <AssemblyOriginatorKeyFile>..\System.Data.SQLite\System.Data.SQLite.snk</AssemblyOriginatorKeyFile>
           17  +    <FileUpgradeFlags>
           18  +    </FileUpgradeFlags>
           19  +    <OldToolsVersion>3.5</OldToolsVersion>
           20  +    <UpgradeBackupLocation />
           21  +    <PublishUrl>publish\</PublishUrl>
           22  +    <Install>true</Install>
           23  +    <InstallFrom>Disk</InstallFrom>
           24  +    <UpdateEnabled>false</UpdateEnabled>
           25  +    <UpdateMode>Foreground</UpdateMode>
           26  +    <UpdateInterval>7</UpdateInterval>
           27  +    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
           28  +    <UpdatePeriodically>false</UpdatePeriodically>
           29  +    <UpdateRequired>false</UpdateRequired>
           30  +    <MapFileExtensions>true</MapFileExtensions>
           31  +    <ApplicationRevision>0</ApplicationRevision>
           32  +    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
           33  +    <IsWebBootstrapper>false</IsWebBootstrapper>
           34  +    <UseApplicationTrust>false</UseApplicationTrust>
           35  +    <BootstrapperEnabled>true</BootstrapperEnabled>
           36  +    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
    18     37     </PropertyGroup>
    19     38     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    20     39       <DebugSymbols>true</DebugSymbols>
    21     40       <DebugType>full</DebugType>
    22     41       <Optimize>false</Optimize>
    23     42       <OutputPath>..\bin\</OutputPath>
    24     43       <DefineConstants>DEBUG;TRACE</DefineConstants>
    25     44       <ErrorReport>prompt</ErrorReport>
    26     45       <WarningLevel>4</WarningLevel>
    27     46       <PlatformTarget>AnyCPU</PlatformTarget>
    28     47       <UseVSHostingProcess>false</UseVSHostingProcess>
           48  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    29     49     </PropertyGroup>
    30     50     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    31     51       <DebugType>none</DebugType>
    32     52       <Optimize>true</Optimize>
    33     53       <OutputPath>..\bin\</OutputPath>
    34     54       <DefineConstants>TRACE</DefineConstants>
    35     55       <ErrorReport>prompt</ErrorReport>
    36     56       <WarningLevel>4</WarningLevel>
    37     57       <PlatformTarget>AnyCPU</PlatformTarget>
    38     58       <UseVSHostingProcess>false</UseVSHostingProcess>
           59  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    39     60     </PropertyGroup>
    40     61     <ItemGroup>
    41     62       <Reference Include="System" />
    42     63       <Reference Include="System.Core">
    43     64         <RequiredTargetFramework>3.5</RequiredTargetFramework>
    44     65       </Reference>
    45     66       <Reference Include="System.Data" />
    46     67       <Reference Include="System.Data.Entity">
    47     68         <RequiredTargetFramework>3.5</RequiredTargetFramework>
    48     69       </Reference>
    49         -    <Reference Include="System.Data.SQLite, Version=1.0.54.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=x86">
           70  +    <Reference Include="System.Data.SQLite, Version=1.0.66.1, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=x86">
    50     71         <SpecificVersion>False</SpecificVersion>
    51         -      <HintPath>..\bin\System.Data.SQLite.DLL</HintPath>
    52     72         <Private>False</Private>
    53     73       </Reference>
    54     74       <Reference Include="System.Xml" />
    55     75     </ItemGroup>
    56     76     <ItemGroup>
    57     77       <Compile Include="AssemblyInfo.cs" />
    58     78       <Compile Include="Properties\Resources.Designer.cs">
    59     79         <AutoGen>True</AutoGen>
    60     80         <DesignTime>True</DesignTime>
    61     81         <DependentUpon>Resources.resx</DependentUpon>
    62     82       </Compile>
    63     83       <Compile Include="SQL Generation\DmlSqlGenerator.cs" />
           84  +    <Compile Include="SQL Generation\InternalBase.cs" />
    64     85       <Compile Include="SQL Generation\ISqlFragment.cs" />
    65     86       <Compile Include="SQL Generation\JoinSymbol.cs" />
           87  +    <Compile Include="SQL Generation\KeyToListMap.cs" />
    66     88       <Compile Include="SQL Generation\MetadataHelpers.cs" />
    67     89       <Compile Include="SQL Generation\SqlBuilder.cs" />
    68     90       <Compile Include="SQL Generation\SqlChecker.cs" />
    69     91       <Compile Include="SQL Generation\SqlGenerator.cs" />
    70     92       <Compile Include="SQL Generation\SqlSelectStatement.cs" />
    71     93       <Compile Include="SQL Generation\SqlWriter.cs" />
           94  +    <Compile Include="SQL Generation\StringUtil.cs" />
    72     95       <Compile Include="SQL Generation\Symbol.cs" />
    73     96       <Compile Include="SQL Generation\SymbolPair.cs" />
    74     97       <Compile Include="SQL Generation\SymbolTable.cs" />
    75     98       <Compile Include="SQL Generation\TopClause.cs" />
    76     99       <Compile Include="SQLiteProviderManifest.cs" />
    77    100       <Compile Include="SQLiteProviderServices.cs" />
    78    101     </ItemGroup>
................................................................................
    84    107     <ItemGroup>
    85    108       <EmbeddedResource Include="Properties\Resources.resx">
    86    109         <Generator>ResXFileCodeGenerator</Generator>
    87    110         <LastGenOutput>Resources.Designer.cs</LastGenOutput>
    88    111       </EmbeddedResource>
    89    112       <EmbeddedResource Include="Resources\SQLiteProviderServices.ProviderManifest.xml" />
    90    113     </ItemGroup>
          114  +  <ItemGroup>
          115  +    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
          116  +      <Visible>False</Visible>
          117  +      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
          118  +      <Install>false</Install>
          119  +    </BootstrapperPackage>
          120  +    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
          121  +      <Visible>False</Visible>
          122  +      <ProductName>.NET Framework 3.5 SP1</ProductName>
          123  +      <Install>true</Install>
          124  +    </BootstrapperPackage>
          125  +    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
          126  +      <Visible>False</Visible>
          127  +      <ProductName>Windows Installer 3.1</ProductName>
          128  +      <Install>true</Install>
          129  +    </BootstrapperPackage>
          130  +  </ItemGroup>
    91    131     <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    92    132     <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
    93    133          Other similar extension points exist, see Microsoft.Common.targets.
    94    134     <Target Name="BeforeBuild">
    95    135     </Target>
    96    136     <Target Name="AfterBuild">
    97    137     </Target>
    98    138     -->
    99    139   </Project>

Changes to System.Data.SQLite/AssemblyInfo.cs.

    10     10   using System.Runtime.ConstrainedExecution;
    11     11   #endif
    12     12   
    13     13   // General Information about an assembly is controlled through the following 
    14     14   // set of attributes. Change these attribute values to modify the information
    15     15   // associated with an assembly.
    16     16   [assembly: AssemblyTitle("System.Data.SQLite")]
    17         -[assembly: AssemblyDescription("ADO.NET 2.0 Data Provider for SQLite")]
           17  +[assembly: AssemblyDescription("ADO.NET 4.0 Data Provider for SQLite")]
    18     18   [assembly: AssemblyConfiguration("")]
    19     19   [assembly: AssemblyCompany("http://sqlite.phxsoftware.com")]
    20     20   [assembly: AssemblyProduct("System.Data.SQLite")]
    21     21   [assembly: AssemblyCopyright("Public Domain")]
    22     22   [assembly: AssemblyTrademark("")]
    23     23   [assembly: AssemblyCulture("")]
    24     24   
................................................................................
    33     33   [assembly: CLSCompliant(true)]
    34     34   [assembly: InternalsVisibleTo("System.Data.SQLite.Linq, PublicKey=002400000480000094000000060200000024000052534131000400000100010005a288de5687c4e1b621ddff5d844727418956997f475eb829429e411aff3e93f97b70de698b972640925bdd44280df0a25a843266973704137cbb0e7441c1fe7cae4e2440ae91ab8cde3933febcb1ac48dd33b40e13c421d8215c18a4349a436dd499e3c385cc683015f886f6c10bd90115eb2bd61b67750839e3a19941dc9c")]
    35     35   [assembly: NeutralResourcesLanguage("en")]
    36     36   
    37     37   #if !PLATFORM_COMPACTFRAMEWORK
    38     38   [assembly: AllowPartiallyTrustedCallers]
    39     39   [assembly: ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)]
    40         -[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
           40  +[assembly: SecurityRules(System.Security.SecurityRuleSet.Level1)]
    41     41   #endif
    42     42   
    43     43   // Version information for an assembly consists of the following four values:
    44     44   //
    45     45   //      Major Version
    46     46   //      Minor Version 
    47     47   //      Build Number
    48     48   //      Revision
    49     49   //
    50     50   // You can specify all the values or you can default the Revision and Build Numbers 
    51     51   // by using the '*' as shown below:
    52         -[assembly: AssemblyVersion("1.0.67.0")]
           52  +[assembly: AssemblyVersion("1.0.66.1")]
    53     53   #if !PLATFORM_COMPACTFRAMEWORK
    54         -[assembly: AssemblyFileVersion("1.0.67.0")]
           54  +[assembly: AssemblyFileVersion("1.0.66.1")]
    55     55   #endif

Changes to System.Data.SQLite/DataTypes.xml.

   738    738       <IsSearchableWithLike>true</IsSearchableWithLike>
   739    739       <LiteralPrefix>'</LiteralPrefix>
   740    740       <LiteralSuffix>'</LiteralSuffix>
   741    741       <IsBestMatch>false</IsBestMatch>
   742    742     </DataTypes>
   743    743     <DataTypes>
   744    744       <TypeName>uniqueidentifier</TypeName>
   745         -    <ProviderDbType>9</ProviderDbType>
          745  +    <ProviderDbType>4</ProviderDbType>
   746    746       <ColumnSize>16</ColumnSize>
   747    747       <DataType>System.Guid</DataType>
   748    748       <CreateFormat>uniqueidentifier</CreateFormat>
   749    749       <IsAutoIncrementable>false</IsAutoIncrementable>
   750    750       <IsCaseSensitive>false</IsCaseSensitive>
   751    751       <IsFixedLength>true</IsFixedLength>
   752    752       <IsFixedPrecisionScale>false</IsFixedPrecisionScale>
................................................................................
   756    756       <IsSearchableWithLike>false</IsSearchableWithLike>
   757    757       <LiteralPrefix>'</LiteralPrefix>
   758    758       <LiteralSuffix>'</LiteralSuffix>
   759    759       <IsBestMatch>true</IsBestMatch>
   760    760     </DataTypes>
   761    761     <DataTypes>
   762    762       <TypeName>guid</TypeName>
   763         -    <ProviderDbType>9</ProviderDbType>
          763  +    <ProviderDbType>4</ProviderDbType>
   764    764       <ColumnSize>16</ColumnSize>
   765    765       <DataType>System.Guid</DataType>
   766    766       <CreateFormat>guid</CreateFormat>
   767    767       <IsAutoIncrementable>false</IsAutoIncrementable>
   768    768       <IsCaseSensitive>false</IsCaseSensitive>
   769    769       <IsFixedLength>true</IsFixedLength>
   770    770       <IsFixedPrecisionScale>false</IsFixedPrecisionScale>

Changes to System.Data.SQLite/LINQ/SQLiteFactory_Linq.cs.

    18     18     public sealed partial class SQLiteFactory : IServiceProvider
    19     19     {
    20     20       private static Type _dbProviderServicesType;
    21     21       private static object _sqliteServices;
    22     22   
    23     23       static SQLiteFactory()
    24     24       {
    25         -      _dbProviderServicesType = Type.GetType("System.Data.Common.DbProviderServices, System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", false);
           25  +      _dbProviderServicesType = Type.GetType("System.Data.Common.DbProviderServices, System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", false);
    26     26       }
    27     27   
    28     28       /// <summary>
    29     29       /// Will provide a DbProviderServices object in .NET 3.5
    30     30       /// </summary>
    31     31       /// <param name="serviceType">The class or interface type to query for</param>
    32     32       /// <returns></returns>
................................................................................
    41     41       }
    42     42   
    43     43       [ReflectionPermission(SecurityAction.Assert, MemberAccess = true)]
    44     44       private object GetSQLiteProviderServicesInstance()
    45     45       {
    46     46         if (_sqliteServices == null)
    47     47         {
    48         -        Type type = Type.GetType("System.Data.SQLite.SQLiteProviderServices, System.Data.SQLite.Linq, Version=2.0.38.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139", false);
           48  +        Type type = Type.GetType("System.Data.SQLite.SQLiteProviderServices, System.Data.SQLite.Linq, Version=1.0.38.1, Culture=neutral, PublicKeyToken=db937bc2d44ff139", false);
    49     49           if (type != null)
    50     50           {
    51     51             FieldInfo field = type.GetField("Instance", BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance);
    52     52             _sqliteServices = field.GetValue(null);
    53     53           }
    54     54         }
    55     55         return _sqliteServices;
    56     56       }
    57     57     }
    58     58   }

Changes to System.Data.SQLite/SQLite3.cs.

   867    867         UnsafeNativeMethods.sqlite3_update_hook(_sql, func, IntPtr.Zero);
   868    868       }
   869    869   
   870    870       internal override void SetCommitHook(SQLiteCommitCallback func)
   871    871       {
   872    872         UnsafeNativeMethods.sqlite3_commit_hook(_sql, func, IntPtr.Zero);
   873    873       }
          874  +
          875  +    internal override void SetTraceCallback(SQLiteTraceCallback func)
          876  +    {
          877  +      UnsafeNativeMethods.sqlite3_trace(_sql, func, IntPtr.Zero);
          878  +    }
   874    879   
   875    880       internal override void SetRollbackHook(SQLiteRollbackCallback func)
   876    881       {
   877    882         UnsafeNativeMethods.sqlite3_rollback_hook(_sql, func, IntPtr.Zero);
   878    883       }
   879    884   
   880    885       /// <summary>

Changes to System.Data.SQLite/SQLiteBase.cs.

   151    151       internal abstract void ReturnText(IntPtr context, string value);
   152    152   
   153    153       internal abstract void SetPassword(byte[] passwordBytes);
   154    154       internal abstract void ChangePassword(byte[] newPasswordBytes);
   155    155   
   156    156       internal abstract void SetUpdateHook(SQLiteUpdateCallback func);
   157    157       internal abstract void SetCommitHook(SQLiteCommitCallback func);
          158  +    internal abstract void SetTraceCallback(SQLiteTraceCallback func);
   158    159       internal abstract void SetRollbackHook(SQLiteRollbackCallback func);
   159    160   
   160    161       internal abstract int GetCursorForTable(SQLiteStatement stmt, int database, int rootPage);
   161    162       internal abstract long GetRowIdForCursor(SQLiteStatement stmt, int cursor);
   162    163   
   163    164       internal abstract object GetValue(SQLiteStatement stmt, int index, SQLiteType typ);
   164    165   

Changes to System.Data.SQLite/SQLiteCommand.cs.

    13     13     using System.Collections.Generic;
    14     14     using System.ComponentModel;
    15     15   
    16     16     /// <summary>
    17     17     /// SQLite implementation of DbCommand.
    18     18     /// </summary>
    19     19   #if !PLATFORM_COMPACTFRAMEWORK
    20         -  [Designer("SQLite.Designer.SQLiteCommandDesigner, SQLite.Designer, Version=1.0.37.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139"), ToolboxItem(true)]
           20  +  [Designer("SQLite.Designer.SQLiteCommandDesigner, SQLite.Designer, Version=1.0.38.1, Culture=neutral, PublicKeyToken=db937bc2d44ff139"), ToolboxItem(true)]
    21     21   #endif
    22     22     public sealed class SQLiteCommand : DbCommand, ICloneable
    23     23     {
    24     24       /// <summary>
    25     25       /// The command text this command is based on
    26     26       /// </summary>
    27     27       private string _commandText;

Changes to System.Data.SQLite/SQLiteConnection.cs.

   141    141     /// <description>Default IsolationLevel</description>
   142    142     /// <description>The default transaciton isolation level</description>
   143    143     /// <description>N</description>
   144    144     /// <description>Serializable</description>
   145    145     /// </item>
   146    146     /// <item>
   147    147     /// <description>Foreign Keys</description>
   148         -  /// <description><b>True</b> - Enables foreign key enforcement<br/><b>False</b> - Disables foreign key enforcement</description>
          148  +  /// <description>Enable foreign key constraints</description>
   149    149     /// <description>N</description>
   150    150     /// <description>False</description>
   151    151     /// </item>
   152    152     /// </list>
   153    153     /// </remarks>
   154    154     public sealed partial class SQLiteConnection : DbConnection, ICloneable
   155    155     {
................................................................................
   201    201   
   202    202       internal bool _binaryGuid;
   203    203   
   204    204       internal long _version;
   205    205   
   206    206       private event SQLiteUpdateEventHandler _updateHandler;
   207    207       private event SQLiteCommitHandler _commitHandler;
          208  +    private event SQLiteTraceEventHandler _traceHandler;
   208    209       private event EventHandler _rollbackHandler;
   209    210   
   210    211       private SQLiteUpdateCallback _updateCallback;
   211    212       private SQLiteCommitCallback _commitCallback;
          213  +    private SQLiteTraceCallback _traceCallback;
   212    214       private SQLiteRollbackCallback _rollbackCallback;
   213    215   
   214    216       /// <summary>
   215    217       /// This event is raised whenever the database is opened or closed.
   216    218       /// </summary>
   217    219       public override event StateChangeEventHandler StateChange;
   218    220   
................................................................................
   596    598       /// </item>
   597    599       /// <item>
   598    600       /// <description>Default IsolationLevel</description>
   599    601       /// <description>The default transaciton isolation level</description>
   600    602       /// <description>N</description>
   601    603       /// <description>Serializable</description>
   602    604       /// </item>
   603         -    /// <item>
   604         -    /// <description>Foreign Keys</description>
   605         -    /// <description><b>True</b> - Enables foreign key enforcement<br/><b>False</b> - Disables foreign key enforcement</description>
   606         -    /// <description>N</description>
   607         -    /// <description>False</description>
   608         -    /// </item>
   609    605       /// </list>
   610    606       /// </remarks>
   611    607   #if !PLATFORM_COMPACTFRAMEWORK
   612    608       [RefreshProperties(RefreshProperties.All), DefaultValue("")]
   613         -    [Editor("SQLite.Designer.SQLiteConnectionStringEditor, SQLite.Designer, Version=1.0.37.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
          609  +	[Editor("SQLite.Designer.SQLiteConnectionStringEditor, SQLite.Designer, Version=1.0.38.1, Culture=neutral, PublicKeyToken=db937bc2d44ff139", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
   614    610   #endif
   615    611       public override string ConnectionString
   616    612       {
   617    613         get
   618    614         {
   619    615           return _connectionString;
   620    616         }
................................................................................
   878    874               if (Convert.ToInt32(defValue, CultureInfo.InvariantCulture) != 2000)
   879    875               {
   880    876                 cmd.CommandText = String.Format(CultureInfo.InvariantCulture, "PRAGMA cache_size={0}", defValue);
   881    877                 cmd.ExecuteNonQuery();
   882    878               }
   883    879   
   884    880               defValue = FindKey(opts, "Journal Mode", "Delete");
   885         -            if (String.Compare(defValue, "Delete", StringComparison.OrdinalIgnoreCase) != 0)
          881  +            if (String.Compare(defValue, "Default", StringComparison.OrdinalIgnoreCase) != 0)
   886    882               {
   887    883                 cmd.CommandText = String.Format(CultureInfo.InvariantCulture, "PRAGMA journal_mode={0}", defValue);
   888    884                 cmd.ExecuteNonQuery();
   889    885               }
   890    886   
   891    887               defValue = FindKey(opts, "Foreign Keys", Boolean.FalseString);
   892    888               cmd.CommandText = String.Format(CultureInfo.InvariantCulture, "PRAGMA foreign_keys={0}", SQLiteConvert.ToBoolean(defValue) == true ? "ON" : "OFF");
................................................................................
  1167   1163             return Schema_ReservedWords();
  1168   1164         }
  1169   1165         throw new NotSupportedException();
  1170   1166       }
  1171   1167   
  1172   1168       private static DataTable Schema_ReservedWords()
  1173   1169       {
  1174         -      DataTable tbl = new DataTable("ReservedWords");
         1170  +      DataTable tbl = new DataTable("MetaDataCollections");
  1175   1171   
  1176   1172         tbl.Locale = CultureInfo.InvariantCulture;
  1177   1173         tbl.Columns.Add("ReservedWord", typeof(string));
  1178   1174         tbl.Columns.Add("MaximumVersion", typeof(string));
  1179   1175         tbl.Columns.Add("MinimumVersion", typeof(string));
  1180   1176   
  1181   1177         tbl.BeginLoadData();
................................................................................
  2210   2206           if (_commitHandler == null)
  2211   2207           {
  2212   2208             if (_sql != null) _sql.SetCommitHook(null);
  2213   2209             _commitCallback = null;
  2214   2210           }
  2215   2211         }
  2216   2212       }
         2213  +
         2214  +    /// <summary>
         2215  +    /// This event is raised whenever SQLite statement first begins executing on
         2216  +    /// this connection.  It only applies to the given connection.
         2217  +    /// </summary>
         2218  +    public event SQLiteTraceEventHandler Trace
         2219  +    {
         2220  +      add
         2221  +      {
         2222  +        if (_traceHandler == null)
         2223  +        {
         2224  +          _traceCallback = new SQLiteTraceCallback(TraceCallback);
         2225  +          if (_sql != null) _sql.SetTraceCallback(_traceCallback);
         2226  +        }
         2227  +        _traceHandler += value;
         2228  +      }
         2229  +      remove
         2230  +      {
         2231  +        _traceHandler -= value;
         2232  +        if (_traceHandler == null)
         2233  +        {
         2234  +          if (_sql != null) _sql.SetTraceCallback(null);
         2235  +            _traceCallback = null;
         2236  +        }
         2237  +      }
         2238  +    }
         2239  +
         2240  +    private void TraceCallback(IntPtr puser, IntPtr statement)
         2241  +    {
         2242  +      _traceHandler(this, new TraceEventArgs(
         2243  +        SQLiteBase.UTF8ToString(statement, -1)));
         2244  +    }
  2217   2245   
  2218   2246       /// <summary>
  2219   2247       /// This event is raised whenever SQLite is committing a transaction.
  2220   2248       /// Return non-zero to trigger a rollback
  2221   2249       /// </summary>
  2222   2250       public event EventHandler RollBack
  2223   2251       {
................................................................................
  2280   2308     internal delegate void SQLiteUpdateCallback(IntPtr puser, int type, IntPtr database, IntPtr table, Int64 rowid);
  2281   2309   #if !PLATFORM_COMPACTFRAMEWORK
  2282   2310     [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
  2283   2311   #endif
  2284   2312     internal delegate int SQLiteCommitCallback(IntPtr puser);
  2285   2313   #if !PLATFORM_COMPACTFRAMEWORK
  2286   2314     [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
         2315  +#endif
         2316  +  internal delegate void SQLiteTraceCallback(IntPtr puser, IntPtr statement);
         2317  +#if !PLATFORM_COMPACTFRAMEWORK
         2318  +  [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
  2287   2319   #endif
  2288   2320     internal delegate void SQLiteRollbackCallback(IntPtr puser);
  2289   2321   
  2290   2322     /// <summary>
  2291   2323     /// Raised when a transaction is about to be committed.  To roll back a transaction, set the 
  2292   2324     /// rollbackTrans boolean value to true.
  2293   2325     /// </summary>
................................................................................
  2298   2330     /// <summary>
  2299   2331     /// Raised when data is inserted, updated and deleted on a given connection
  2300   2332     /// </summary>
  2301   2333     /// <param name="sender">The connection committing the transaction</param>
  2302   2334     /// <param name="e">The event parameters which triggered the event</param>
  2303   2335     public delegate void SQLiteUpdateEventHandler(object sender, UpdateEventArgs e);
  2304   2336   
         2337  +  /// <summary>
         2338  +  /// Raised when a statement first begins executing on a given connection
         2339  +  /// </summary>
         2340  +  /// <param name="sender">The connection executing the statement</param>
         2341  +  /// <param name="e">Event arguments on the trace</param>
         2342  +  public delegate void SQLiteTraceEventHandler(object sender, TraceEventArgs e);
         2343  +
  2305   2344     /// <summary>
  2306   2345     /// Whenever an update event is triggered on a connection, this enum will indicate
  2307   2346     /// exactly what type of operation is being performed.
  2308   2347     /// </summary>
  2309   2348     public enum UpdateEventType
  2310   2349     {
  2311   2350       /// <summary>
................................................................................
  2367   2406       }
  2368   2407   
  2369   2408       /// <summary>
  2370   2409       /// Set to true to abort the transaction and trigger a rollback
  2371   2410       /// </summary>
  2372   2411       public bool AbortTransaction;
  2373   2412     }
         2413  +
         2414  +  /// <summary>
         2415  +  /// Passed during an Trace callback, these event arguments contain the UTF-8 rendering of the SQL statement text
         2416  +  /// </summary>
         2417  +  public class TraceEventArgs : EventArgs
         2418  +  {
         2419  +    /// <summary>
         2420  +    /// SQL statement text as the statement first begins executing
         2421  +    /// </summary>
         2422  +    public readonly string Statement;
         2423  +
         2424  +    internal TraceEventArgs(string statement)
         2425  +    {
         2426  +      Statement = statement;
         2427  +    }
         2428  +  }
  2374   2429   
  2375   2430   }

Changes to System.Data.SQLite/SQLiteConvert.cs.

   778    778       /// and the journal re-used as often as needed.  If it is deleted, it will be recreated the next time it is needed.
   779    779       /// </summary>
   780    780       Persist = 1,
   781    781       /// <summary>
   782    782       /// This option disables the rollback journal entirely.  Interrupted transactions or a program crash can cause database
   783    783       /// corruption in this mode!
   784    784       /// </summary>
   785         -    Off = 2,
   786         -    /// <summary>
   787         -    /// This option commits transactions by truncating the rollback journal to zero-length instead of deleting it. On many systems,
   788         -    /// truncating a file is much faster than deleting the file since the containing directory does not need to be changed.
   789         -    /// </summary>
   790         -    Truncate = 3,
          785  +    Off = 2
   791    786     }
   792    787   
   793    788     /// <summary>
   794    789     /// Struct used internally to determine the datatype of a column in a resultset
   795    790     /// </summary>
   796    791     internal class SQLiteType
   797    792     {

Changes to System.Data.SQLite/SQLiteDataAdapter.cs.

    13     13     using System.ComponentModel;
    14     14   
    15     15     /// <summary>
    16     16     /// SQLite implementation of DbDataAdapter.
    17     17     /// </summary>
    18     18   #if !PLATFORM_COMPACTFRAMEWORK
    19     19     [DefaultEvent("RowUpdated")]
    20         -  [ToolboxItem("SQLite.Designer.SQLiteDataAdapterToolboxItem, SQLite.Designer, Version=1.0.37.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139")]
           20  +  [ToolboxItem("SQLite.Designer.SQLiteDataAdapterToolboxItem, SQLite.Designer, Version=1.0.38.1, Culture=neutral, PublicKeyToken=db937bc2d44ff139")]
    21     21     [Designer("Microsoft.VSDesigner.Data.VS.SqlDataAdapterDesigner, Microsoft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    22     22   #endif
    23     23     public sealed class SQLiteDataAdapter : DbDataAdapter
    24     24     {
    25     25       private static object _updatingEventPH = new object();
    26     26       private static object _updatedEventPH = new object();
    27     27   

Changes to System.Data.SQLite/SR.Designer.cs.

     1      1   //------------------------------------------------------------------------------
     2      2   // <auto-generated>
     3      3   //     This code was generated by a tool.
     4         -//     Runtime Version:2.0.50727.3053
            4  +//     Runtime Version:4.0.30319.1
     5      5   //
     6      6   //     Changes to this file may cause incorrect behavior and will be lost if
     7      7   //     the code is regenerated.
     8      8   // </auto-generated>
     9      9   //------------------------------------------------------------------------------
    10     10   
    11     11   namespace System.Data.SQLite {
................................................................................
    15     15       /// <summary>
    16     16       ///   A strongly-typed resource class, for looking up localized strings, etc.
    17     17       /// </summary>
    18     18       // This class was auto-generated by the StronglyTypedResourceBuilder
    19     19       // class via a tool like ResGen or Visual Studio.
    20     20       // To add or remove a member, edit your .ResX file then rerun ResGen
    21     21       // with the /str option, or rebuild your VS project.
           22  +    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
    22     23       [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
           24  +    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    23     25       internal class SR {
    24     26           
    25     27           private static global::System.Resources.ResourceManager resourceMan;
    26     28           
    27     29           private static global::System.Globalization.CultureInfo resourceCulture;
    28     30           
           31  +        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
    29     32           internal SR() {
    30     33           }
    31     34           
    32     35           /// <summary>
    33     36           ///   Returns the cached ResourceManager instance used by this class.
    34     37           /// </summary>
    35     38           [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]

Changes to System.Data.SQLite/SR.resx.

   108    108     <resheader name="resmimetype">
   109    109       <value>text/microsoft-resx</value>
   110    110     </resheader>
   111    111     <resheader name="version">
   112    112       <value>2.0</value>
   113    113     </resheader>
   114    114     <resheader name="reader">
   115         -    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
          115  +    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   116    116     </resheader>
   117    117     <resheader name="writer">
   118         -    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
          118  +    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
   119    119     </resheader>
   120         -  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
          120  +  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
   121    121     <data name="DataTypes" type="System.Resources.ResXFileRef, System.Windows.Forms">
   122         -    <value>datatypes.xml;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
          122  +    <value>DataTypes.xml;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
   123    123     </data>
   124    124     <data name="Keywords" xml:space="preserve">
   125    125       <value>ALL,ALTER,AND,AS,AUTOINCREMENT,BETWEEN,BY,CASE,CHECK,COLLATE,COMMIT,CONSTRAINT,CREATE,CROSS,DEFAULT,DEFERRABLE,DELETE,DISTINCT,DROP,ELSE,ESCAPE,EXCEPT,FOREIGN,FROM,FULL,GROUP,HAVING,IN,INDEX,INNER,INSERT,INTERSECT,INTO,IS,ISNULL,JOIN,LEFT,LIMIT,NATURAL,NOT,NOTNULL,NULL,ON,OR,ORDER,OUTER,PRIMARY,REFERENCES,RIGHT,ROLLBACK,SELECT,SET,TABLE,THEN,TO,TRANSACTION,UNION,UNIQUE,UPDATE,USING,VALUES,WHEN,WHERE</value>
   126    126     </data>
   127    127     <data name="MetaDataCollections" type="System.Resources.ResXFileRef, System.Windows.Forms">
   128         -    <value>metadatacollections.xml;System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
          128  +    <value>MetaDataCollections.xml;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
   129    129     </data>
   130    130   </root>

Changes to System.Data.SQLite/UnsafeNativeMethods.cs.

    19     19   #if !SQLITE_STANDARD
    20     20   
    21     21   #if !USE_INTEROP_DLL
    22     22   
    23     23   #if !PLATFORM_COMPACTFRAMEWORK
    24     24       private const string SQLITE_DLL = "System.Data.SQLite.DLL";
    25     25   #else
    26         -    internal const string SQLITE_DLL = "SQLite.Interop.067.DLL";
           26  +    internal const string SQLITE_DLL = "SQLite.Interop.066.DLL";
    27     27   #endif // PLATFORM_COMPACTFRAMEWORK
    28     28   
    29     29   #else
    30     30       private const string SQLITE_DLL = "SQLite.Interop.DLL";
    31     31   #endif // USE_INTEROP_DLL
    32     32   
    33     33   #else
................................................................................
   633    633   #if !PLATFORM_COMPACTFRAMEWORK
   634    634       [DllImport(SQLITE_DLL, CallingConvention = CallingConvention.Cdecl)]
   635    635   #else
   636    636       [DllImport(SQLITE_DLL)]
   637    637   #endif
   638    638       internal static extern IntPtr sqlite3_commit_hook(IntPtr db, SQLiteCommitCallback func, IntPtr pvUser);
   639    639   
          640  +#if !PLATFORM_COMPACTFRAMEWORK
          641  +    [DllImport(SQLITE_DLL, CallingConvention = CallingConvention.Cdecl)]
          642  +#else
          643  +    [DllImport(SQLITE_DLL)]
          644  +#endif
          645  +    internal static extern IntPtr sqlite3_trace(IntPtr db, SQLiteTraceCallback func, IntPtr pvUser);
          646  +
   640    647   #if !PLATFORM_COMPACTFRAMEWORK
   641    648       [DllImport(SQLITE_DLL, CallingConvention = CallingConvention.Cdecl)]
   642    649   #else
   643    650       [DllImport(SQLITE_DLL)]
   644    651   #endif
   645    652       internal static extern IntPtr sqlite3_rollback_hook(IntPtr db, SQLiteRollbackCallback func, IntPtr pvUser);
   646    653   

Changes to bin/System.Data.SQLite.dll.

cannot compute difference between binary files

Changes to bin/test.exe.

cannot compute difference between binary files

Changes to bin/test.exe.config.

     1      1   <configuration>
     2      2     <system.data>
     3      3       <DbProviderFactories>
     4      4         <remove invariant="System.Data.SQLite"/>
     5         -      <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
            5  +      <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/>
     6      6       </DbProviderFactories>
     7      7     </system.data>
     8         -</configuration>
            8  +<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/></startup></configuration>

Changes to readme.htm.

     1      1   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     2      2   <html>
     3      3     <head>
     4      4       <title></title>
     5      5     </head>
     6      6     <body>
     7         -    ADO.NET 2.0/3.5 SQLite Data Provider<br>
     8         -    Version 1.0.67.0 August X, 2010<br>
            7  +    ADO.NET 4.0 SQLite Data Provider<br>
            8  +    Version 1.0.66.1 April 18, 2010<br>
     9      9       Using SQLite 3.7.0.1<br>
    10     10       Written by Robert Simpson (<a href="mailto:robert@blackcastlesoft.com">robert@blackcastlesoft.com</a>)<br>
    11     11       Released to the public domain, use at your own risk!<br>
    12     12       Official provider website:&nbsp; <a href="http://sqlite.phxsoftware.com">http://sqlite.phxsoftware.com</a><br />
    13     13       <br>
    14     14       The latest version can be downloaded <a href="http://sourceforge.net/projects/sqlite-dotnet2">
    15     15         here</a>

Changes to test/Properties/Resources.Designer.cs.

     1      1   //------------------------------------------------------------------------------
     2      2   // <auto-generated>
     3      3   //     This code was generated by a tool.
     4         -//     Runtime Version:2.0.50727.3031
            4  +//     Runtime Version:4.0.30319.1
     5      5   //
     6      6   //     Changes to this file may cause incorrect behavior and will be lost if
     7      7   //     the code is regenerated.
     8      8   // </auto-generated>
     9      9   //------------------------------------------------------------------------------
    10     10   
    11     11   namespace test.Properties {
................................................................................
    15     15       /// <summary>
    16     16       ///   A strongly-typed resource class, for looking up localized strings, etc.
    17     17       /// </summary>
    18     18       // This class was auto-generated by the StronglyTypedResourceBuilder
    19     19       // class via a tool like ResGen or Visual Studio.
    20     20       // To add or remove a member, edit your .ResX file then rerun ResGen
    21     21       // with the /str option, or rebuild your VS project.
    22         -    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
           22  +    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
    23     23       [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    24     24       [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    25     25       internal class Resources {
    26     26           
    27     27           private static global::System.Resources.ResourceManager resourceMan;
    28     28           
    29     29           private static global::System.Globalization.CultureInfo resourceCulture;

Changes to test/TestCases.cs.

    70     70       [Test(Sequence=1)]
    71     71       internal string VersionTest()
    72     72       {
    73     73         CheckSQLite();
    74     74         string[] version = _cnn.ServerVersion.Split('.');
    75     75         if (Convert.ToInt32(version[0]) < 3
    76     76           || (Convert.ToInt32(version[0]) == 3 && Convert.ToInt32(version[1]) < 6)
    77         -        || (Convert.ToInt32(version[1]) == 6 && Convert.ToInt32(version[2]) < 1)
           77  +        || (Convert.ToInt32(version[0]) == 3 && Convert.ToInt32(version[1]) == 6 && Convert.ToInt32(version[2]) < 1)
    78     78           ) throw new Exception(String.Format("SQLite Engine is {0}.  Minimum supported version is 3.6.1", _cnn.ServerVersion));
    79     79   
    80     80         return String.Format("SQLite Engine is {0}", _cnn.ServerVersion);
    81     81       }
    82     82   
    83     83       //[Test(Sequence = 1)]
    84     84       internal void ParseTest()

Changes to test/app.config.

     1      1   <configuration>
     2      2     <system.data>
     3      3       <DbProviderFactories>
     4      4         <remove invariant="System.Data.SQLite"/>
     5         -      <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
            5  +      <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/>
     6      6       </DbProviderFactories>
     7      7     </system.data>
     8         -</configuration>
            8  +<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/></startup></configuration>

Changes to test/test.csproj.

     1         -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
            1  +<?xml version="1.0" encoding="utf-8"?>
            2  +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
     2      3     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
     3      4       <OutputPath>..\bin\x64\</OutputPath>
     4      5       <Optimize>true</Optimize>
     5      6       <FileAlignment>512</FileAlignment>
     6      7       <DebugType>
     7      8       </DebugType>
     8      9       <PlatformTarget>x64</PlatformTarget>
     9     10       <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    10     11       <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    11     12       <UseVSHostingProcess>false</UseVSHostingProcess>
    12     13       <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
           14  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    13     15     </PropertyGroup>
    14     16     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
    15     17       <DebugSymbols>true</DebugSymbols>
    16     18       <OutputPath>..\bin\x64\</OutputPath>
    17     19       <DefineConstants>DEBUG;TRACE</DefineConstants>
    18     20       <DebugType>full</DebugType>
    19     21       <PlatformTarget>x64</PlatformTarget>
    20     22       <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    21     23       <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
           24  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    22     25     </PropertyGroup>
    23     26     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    24     27       <OutputPath>..\bin\</OutputPath>
    25     28       <Optimize>true</Optimize>
    26     29       <FileAlignment>512</FileAlignment>
    27     30       <DebugType>
    28     31       </DebugType>
    29     32       <PlatformTarget>x86</PlatformTarget>
    30     33       <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    31     34       <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    32     35       <UseVSHostingProcess>false</UseVSHostingProcess>
    33     36       <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
           37  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    34     38     </PropertyGroup>
    35     39     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Itanium' ">
    36     40       <OutputPath>..\bin\Itanium\</OutputPath>
    37     41       <Optimize>true</Optimize>
    38     42       <FileAlignment>512</FileAlignment>
    39     43       <DebugType>
    40     44       </DebugType>
    41     45       <PlatformTarget>Itanium</PlatformTarget>
    42     46       <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    43     47       <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
    44     48       <UseVSHostingProcess>false</UseVSHostingProcess>
    45     49       <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
           50  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    46     51     </PropertyGroup>
    47     52     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Itanium' ">
    48     53       <DebugSymbols>true</DebugSymbols>
    49     54       <OutputPath>..\bin\Itanium\</OutputPath>
    50     55       <DefineConstants>DEBUG;TRACE</DefineConstants>
    51     56       <DebugType>full</DebugType>
    52     57       <PlatformTarget>Itanium</PlatformTarget>
    53     58       <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
    54     59       <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
           60  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    55     61     </PropertyGroup>
    56     62     <PropertyGroup>
    57     63       <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    58     64       <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    59     65       <ProductVersion>9.0.30729</ProductVersion>
    60     66       <SchemaVersion>2.0</SchemaVersion>
    61     67       <ProjectGuid>{E27B1B1E-19C0-45E8-AA74-B6E1C041A130}</ProjectGuid>
    62     68       <OutputType>WinExe</OutputType>
    63     69       <RootNamespace>test</RootNamespace>
    64     70       <AssemblyName>test</AssemblyName>
    65     71       <WarningLevel>4</WarningLevel>
    66     72       <IsWebBootstrapper>true</IsWebBootstrapper>
           73  +    <FileUpgradeFlags>
           74  +    </FileUpgradeFlags>
           75  +    <OldToolsVersion>3.5</OldToolsVersion>
           76  +    <UpgradeBackupLocation>
           77  +    </UpgradeBackupLocation>
           78  +    <StartupObject>
           79  +    </StartupObject>
           80  +    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    67     81       <PublishUrl>http://localhost/test</PublishUrl>
    68     82       <Install>true</Install>
    69     83       <InstallFrom>Web</InstallFrom>
    70     84       <UpdateEnabled>true</UpdateEnabled>
    71     85       <UpdateMode>Foreground</UpdateMode>
    72     86       <UpdateInterval>7</UpdateInterval>
    73     87       <UpdateIntervalUnits>Days</UpdateIntervalUnits>
    74     88       <UpdatePeriodically>false</UpdatePeriodically>
    75     89       <UpdateRequired>false</UpdateRequired>
    76     90       <MapFileExtensions>false</MapFileExtensions>
    77         -    <ApplicationVersion>1.0.0.*</ApplicationVersion>
           91  +    <ApplicationRevision>0</ApplicationRevision>
           92  +    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
           93  +    <UseApplicationTrust>false</UseApplicationTrust>
    78     94       <BootstrapperEnabled>true</BootstrapperEnabled>
    79         -    <FileUpgradeFlags>
    80         -    </FileUpgradeFlags>
    81         -    <OldToolsVersion>2.0</OldToolsVersion>
    82         -    <UpgradeBackupLocation>
    83         -    </UpgradeBackupLocation>
    84         -    <StartupObject>
    85         -    </StartupObject>
           95  +    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
    86     96     </PropertyGroup>
    87     97     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    88     98       <DebugSymbols>true</DebugSymbols>
    89     99       <DebugType>full</DebugType>
    90    100       <Optimize>false</Optimize>
    91    101       <OutputPath>..\bin\</OutputPath>
    92    102       <DefineConstants>DEBUG;TRACE</DefineConstants>
    93    103       <PlatformTarget>x86</PlatformTarget>
          104  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    94    105     </PropertyGroup>
    95    106     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    96    107       <DebugType>none</DebugType>
    97    108       <Optimize>true</Optimize>
    98    109       <OutputPath>..\bin\ManagedOnly\</OutputPath>
    99    110       <DefineConstants>
   100    111       </DefineConstants>
   101    112       <PlatformTarget>x86</PlatformTarget>
   102    113       <FileAlignment>512</FileAlignment>
   103    114       <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
   104    115       <UseVSHostingProcess>false</UseVSHostingProcess>
          116  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
   105    117     </PropertyGroup>
   106    118     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
   107    119       <DebugSymbols>true</DebugSymbols>
   108    120       <OutputPath>..\bin\</OutputPath>
   109    121       <DefineConstants>DEBUG;TRACE</DefineConstants>
   110    122       <DebugType>full</DebugType>
   111    123       <PlatformTarget>x86</PlatformTarget>
   112    124       <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
   113    125       <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
   114    126       <UseVSHostingProcess>false</UseVSHostingProcess>
          127  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
   115    128     </PropertyGroup>
   116    129     <ItemGroup>
   117    130       <Reference Include="System" />
   118    131       <Reference Include="System.Data" />
   119         -    <Reference Include="System.Data.SQLite, Version=1.0.55.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=x86">
          132  +    <Reference Include="System.Data.SQLite, Version=1.0.66.1, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=x86">
   120    133         <SpecificVersion>False</SpecificVersion>
   121         -      <Private>False</Private>
   122    134       </Reference>
   123    135       <Reference Include="System.Drawing" />
   124    136       <Reference Include="System.Transactions" />
   125    137       <Reference Include="System.Windows.Forms" />
   126    138       <Reference Include="System.Xml" />
   127    139     </ItemGroup>
   128    140     <ItemGroup>
................................................................................
   146    158       <BootstrapperFile Include="Microsoft.Net.Framework.2.0">
   147    159         <InProject>False</InProject>
   148    160         <ProductName>.NET Framework 2.0</ProductName>
   149    161         <Install>true</Install>
   150    162       </BootstrapperFile>
   151    163     </ItemGroup>
   152    164     <ItemGroup>
          165  +    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
          166  +      <Visible>False</Visible>
          167  +      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
          168  +      <Install>false</Install>
          169  +    </BootstrapperPackage>
   153    170       <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
   154         -      <InProject>False</InProject>
          171  +      <Visible>False</Visible>
   155    172         <ProductName>.NET Framework 2.0 Beta</ProductName>
   156    173         <Install>true</Install>
          174  +    </BootstrapperPackage>
          175  +    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
          176  +      <Visible>False</Visible>
          177  +      <ProductName>.NET Framework 3.5 SP1</ProductName>
          178  +      <Install>false</Install>
   157    179       </BootstrapperPackage>
   158    180     </ItemGroup>
   159    181     <ItemGroup>
   160    182       <EmbeddedResource Include="Properties\Resources.resx">
   161    183         <Generator>ResXFileCodeGenerator</Generator>
   162    184         <LastGenOutput>Resources.Designer.cs</LastGenOutput>
   163    185       </EmbeddedResource>
   164    186       <EmbeddedResource Include="TestCasesDialog.resx">
   165    187         <DependentUpon>TestCasesDialog.cs</DependentUpon>
   166    188       </EmbeddedResource>
   167    189     </ItemGroup>
   168    190     <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
   169    191   </Project>

Changes to testce/testce.csproj.

     1         -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
            1  +<?xml version="1.0" encoding="utf-8"?>
            2  +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
     2      3     <PropertyGroup>
     3      4       <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     4      5       <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     5      6       <ProductVersion>9.0.30729</ProductVersion>
     6      7       <SchemaVersion>2.0</SchemaVersion>
     7      8       <ProjectGuid>{B86CE504-C4E4-496F-A0F0-E613BCFD3DF7}</ProjectGuid>
     8      9       <OutputType>WinExe</OutputType>
................................................................................
    16     17       <DeployDirSuffix>testce</DeployDirSuffix>
    17     18       <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
    18     19       <FormFactorID>
    19     20       </FormFactorID>
    20     21       <StartupObject>
    21     22       </StartupObject>
    22     23       <DeployDirPrefix>%25CSIDL_PROGRAM_FILES%25</DeployDirPrefix>
    23         -    <FileUpgradeFlags>
    24         -    </FileUpgradeFlags>
    25         -    <OldToolsVersion>2.0</OldToolsVersion>
           24  +    <FileUpgradeFlags>0</FileUpgradeFlags>
           25  +    <OldToolsVersion>4.0</OldToolsVersion>
    26     26       <NativePlatformName>Pocket PC 2003</NativePlatformName>
    27     27       <UpgradeBackupLocation>
    28     28       </UpgradeBackupLocation>
    29     29     </PropertyGroup>
    30     30     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    31     31       <DebugSymbols>true</DebugSymbols>
    32     32       <DebugType>full</DebugType>

Changes to testlinq/App.Config.

     1         -<?xml version="1.0" encoding="utf-8"?>
            1  +<?xml version="1.0"?>
     2      2   <configuration>
     3      3     <connectionStrings>
     4         -    <add name="northwindEntities" connectionString="metadata=res://*/NorthwindModel.csdl|res://*/NorthwindModel.ssdl|res://*/NorthwindModel.msl;provider=System.Data.SQLite;provider connection string=&quot;data source=c:\src\sqlite.net\testlinq\northwind.db&quot;" providerName="System.Data.EntityClient" />
     5         -    <add name="northwindEntities1" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SQLite;provider connection string=&quot;data source=c:\src\sqlite.net\testlinq\northwind.db&quot;" providerName="System.Data.EntityClient" />
     6         -    <add name="northwindEFEntities" connectionString="metadata=res://*/NorthwindModel.csdl|res://*/NorthwindModel.ssdl|res://*/NorthwindModel.msl;provider=System.Data.SQLite;provider connection string=&quot;data source=C:\Src\SQLite.NET\testlinq\northwindEF.db&quot;" providerName="System.Data.EntityClient" />
            4  +    <add name="northwindEntities" connectionString="metadata=res://*/NorthwindModel.csdl|res://*/NorthwindModel.ssdl|res://*/NorthwindModel.msl;provider=System.Data.SQLite;provider connection string=&quot;data source=c:\src\sqlite.net\testlinq\northwind.db&quot;" providerName="System.Data.EntityClient"/>
            5  +    <add name="northwindEntities1" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=System.Data.SQLite;provider connection string=&quot;data source=c:\src\sqlite.net\testlinq\northwind.db&quot;" providerName="System.Data.EntityClient"/>
            6  +    <add name="northwindEFEntities" connectionString="metadata=res://*/NorthwindModel.csdl|res://*/NorthwindModel.ssdl|res://*/NorthwindModel.msl;provider=System.Data.SQLite;provider connection string=&quot;data source=C:\Src\SQLite.NET\testlinq\northwindEF.db&quot;" providerName="System.Data.EntityClient"/>
     7      7     </connectionStrings>
     8         -</configuration>
            8  +<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/></startup></configuration>

Changes to testlinq/NorthwindModel.Designer.cs.

     1      1   //------------------------------------------------------------------------------
     2      2   // <auto-generated>
     3         -//     This code was generated by a tool.
     4         -//     Runtime Version:2.0.50727.3053
            3  +//    This code was generated from a template.
     5      4   //
     6         -//     Changes to this file may cause incorrect behavior and will be lost if
     7         -//     the code is regenerated.
            5  +//    Manual changes to this file may cause unexpected behavior in your application.
            6  +//    Manual changes to this file will be overwritten if the code is regenerated.
     8      7   // </auto-generated>
     9      8   //------------------------------------------------------------------------------
    10      9   
    11         -[assembly: global::System.Data.Objects.DataClasses.EdmSchemaAttribute()]
    12         -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("northwindEFModel", "FK_Products_CategoryID_CategoryID", "Categories", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(testlinq.Categories), "Products", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.Products))]
    13         -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("northwindEFModel", "FK_Orders_CustomerID_CustomerID", "Customers", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(testlinq.Customers), "Orders", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.Orders))]
    14         -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("northwindEFModel", "FK_InternationalOrders_OrderID_OrderID", "Orders", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(testlinq.Orders), "InternationalOrders", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(testlinq.InternationalOrders))]
    15         -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("northwindEFModel", "FK_OrderDetails_OrderID_OrderID", "Orders", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(testlinq.Orders), "OrderDetails", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.OrderDetails))]
    16         -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("northwindEFModel", "FK_OrderDetails_ProductID_ProductID", "Products", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(testlinq.Products), "OrderDetails", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.OrderDetails))]
    17         -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("northwindEFModel", "FK_Products_SupplierID_SupplierID", "Suppliers", global::System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(testlinq.Suppliers), "Products", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.Products))]
    18         -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("northwindEFModel", "FK_Territories_RegionID_RegionID", "Regions", global::System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(testlinq.Regions), "Territories", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.Territories))]
    19         -[assembly: global::System.Data.Objects.DataClasses.EdmRelationshipAttribute("northwindEFModel", "EmployeesTerritories", "Employees", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.Employees), "Territories", global::System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.Territories))]
           10  +using System;
           11  +using System.Data.Objects;
           12  +using System.Data.Objects.DataClasses;
           13  +using System.Data.EntityClient;
           14  +using System.ComponentModel;
           15  +using System.Xml.Serialization;
           16  +using System.Runtime.Serialization;
    20     17   
    21         -// Original file name:
    22         -// Generation date: 8/25/2008 8:54:05 AM
           18  +[assembly: EdmSchemaAttribute()]
           19  +#region EDM Relationship Metadata
           20  +
           21  +[assembly: EdmRelationshipAttribute("northwindEFModel", "FK_Products_CategoryID_CategoryID", "Categories", System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(testlinq.Categories), "Products", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.Products))]
           22  +[assembly: EdmRelationshipAttribute("northwindEFModel", "FK_Orders_CustomerID_CustomerID", "Customers", System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(testlinq.Customers), "Orders", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.Orders))]
           23  +[assembly: EdmRelationshipAttribute("northwindEFModel", "FK_InternationalOrders_OrderID_OrderID", "Orders", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(testlinq.Orders), "InternationalOrders", System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(testlinq.InternationalOrders), true)]
           24  +[assembly: EdmRelationshipAttribute("northwindEFModel", "FK_OrderDetails_OrderID_OrderID", "Orders", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(testlinq.Orders), "OrderDetails", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.OrderDetails), true)]
           25  +[assembly: EdmRelationshipAttribute("northwindEFModel", "FK_OrderDetails_ProductID_ProductID", "Products", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(testlinq.Products), "OrderDetails", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.OrderDetails), true)]
           26  +[assembly: EdmRelationshipAttribute("northwindEFModel", "FK_Products_SupplierID_SupplierID", "Suppliers", System.Data.Metadata.Edm.RelationshipMultiplicity.ZeroOrOne, typeof(testlinq.Suppliers), "Products", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.Products))]
           27  +[assembly: EdmRelationshipAttribute("northwindEFModel", "FK_Territories_RegionID_RegionID", "Regions", System.Data.Metadata.Edm.RelationshipMultiplicity.One, typeof(testlinq.Regions), "Territories", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.Territories))]
           28  +[assembly: EdmRelationshipAttribute("northwindEFModel", "EmployeesTerritories", "Employees", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.Employees), "Territories", System.Data.Metadata.Edm.RelationshipMultiplicity.Many, typeof(testlinq.Territories))]
           29  +
           30  +#endregion
           31  +
    23     32   namespace testlinq
    24     33   {
           34  +    #region Contexts
    25     35       
    26     36       /// <summary>
    27         -    /// There are no comments for northwindEFEntities in the schema.
           37  +    /// No Metadata Documentation available.
    28     38       /// </summary>
    29         -    public partial class northwindEFEntities : global::System.Data.Objects.ObjectContext
           39  +    public partial class northwindEFEntities : ObjectContext
    30     40       {
           41  +        #region Constructors
           42  +    
    31     43           /// <summary>
    32     44           /// Initializes a new northwindEFEntities object using the connection string found in the 'northwindEFEntities' section of the application configuration file.
    33     45           /// </summary>
    34         -        public northwindEFEntities() : 
    35         -                base("name=northwindEFEntities", "northwindEFEntities")
           46  +        public northwindEFEntities() : base("name=northwindEFEntities", "northwindEFEntities")
    36     47           {
    37         -            this.OnContextCreated();
           48  +            OnContextCreated();
    38     49           }
           50  +    
    39     51           /// <summary>
    40     52           /// Initialize a new northwindEFEntities object.
    41     53           /// </summary>
    42         -        public northwindEFEntities(string connectionString) : 
    43         -                base(connectionString, "northwindEFEntities")
           54  +        public northwindEFEntities(string connectionString) : base(connectionString, "northwindEFEntities")
    44     55           {
    45         -            this.OnContextCreated();
           56  +            OnContextCreated();
    46     57           }
           58  +    
    47     59           /// <summary>
    48     60           /// Initialize a new northwindEFEntities object.
    49     61           /// </summary>
    50         -        public northwindEFEntities(global::System.Data.EntityClient.EntityConnection connection) : 
    51         -                base(connection, "northwindEFEntities")
           62  +        public northwindEFEntities(EntityConnection connection) : base(connection, "northwindEFEntities")
    52     63           {
    53         -            this.OnContextCreated();
           64  +            OnContextCreated();
    54     65           }
           66  +    
           67  +        #endregion
           68  +    
           69  +        #region Partial Methods
           70  +    
    55     71           partial void OnContextCreated();
    56         -        /// <summary>
    57         -        /// There are no comments for Categories in the schema.
    58         -        /// </summary>
    59         -        public global::System.Data.Objects.ObjectQuery<Categories> Categories
    60         -        {
    61         -            get
    62         -            {
    63         -                if ((this._Categories == null))
    64         -                {
    65         -                    this._Categories = base.CreateQuery<Categories>("[Categories]");
    66         -                }
    67         -                return this._Categories;
    68         -            }
    69         -        }
    70         -        private global::System.Data.Objects.ObjectQuery<Categories> _Categories;
    71         -        /// <summary>
    72         -        /// There are no comments for Customers in the schema.
    73         -        /// </summary>
    74         -        public global::System.Data.Objects.ObjectQuery<Customers> Customers
    75         -        {
    76         -            get
    77         -            {
    78         -                if ((this._Customers == null))
    79         -                {
    80         -                    this._Customers = base.CreateQuery<Customers>("[Customers]");
    81         -                }
    82         -                return this._Customers;
    83         -            }
    84         -        }
    85         -        private global::System.Data.Objects.ObjectQuery<Customers> _Customers;
    86         -        /// <summary>
    87         -        /// There are no comments for Employees in the schema.
    88         -        /// </summary>
    89         -        public global::System.Data.Objects.ObjectQuery<Employees> Employees
    90         -        {
    91         -            get
    92         -            {
    93         -                if ((this._Employees == null))
    94         -                {
    95         -                    this._Employees = base.CreateQuery<Employees>("[Employees]");
    96         -                }
    97         -                return this._Employees;
    98         -            }
    99         -        }
   100         -        private global::System.Data.Objects.ObjectQuery<Employees> _Employees;
   101         -        /// <summary>
   102         -        /// There are no comments for InternationalOrders in the schema.
   103         -        /// </summary>
   104         -        public global::System.Data.Objects.ObjectQuery<InternationalOrders> InternationalOrders
   105         -        {
   106         -            get
   107         -            {
   108         -                if ((this._InternationalOrders == null))
   109         -                {
   110         -                    this._InternationalOrders = base.CreateQuery<InternationalOrders>("[InternationalOrders]");
   111         -                }
   112         -                return this._InternationalOrders;
   113         -            }
   114         -        }
   115         -        private global::System.Data.Objects.ObjectQuery<InternationalOrders> _InternationalOrders;
   116         -        /// <summary>
   117         -        /// There are no comments for OrderDetails in the schema.
   118         -        /// </summary>
   119         -        public global::System.Data.Objects.ObjectQuery<OrderDetails> OrderDetails
   120         -        {
   121         -            get
   122         -            {
   123         -                if ((this._OrderDetails == null))
   124         -                {
   125         -                    this._OrderDetails = base.CreateQuery<OrderDetails>("[OrderDetails]");
   126         -                }
   127         -                return this._OrderDetails;
   128         -            }
   129         -        }
   130         -        private global::System.Data.Objects.ObjectQuery<OrderDetails> _OrderDetails;
   131         -        /// <summary>
   132         -        /// There are no comments for Orders in the schema.
   133         -        /// </summary>
   134         -        public global::System.Data.Objects.ObjectQuery<Orders> Orders
   135         -        {
   136         -            get
   137         -            {
   138         -                if ((this._Orders == null))
   139         -                {
   140         -                    this._Orders = base.CreateQuery<Orders>("[Orders]");
   141         -                }
   142         -                return this._Orders;
   143         -            }
   144         -        }
   145         -        private global::System.Data.Objects.ObjectQuery<Orders> _Orders;
   146         -        /// <summary>
   147         -        /// There are no comments for PreviousEmployees in the schema.
   148         -        /// </summary>
   149         -        public global::System.Data.Objects.ObjectQuery<PreviousEmployees> PreviousEmployees
   150         -        {
   151         -            get
   152         -            {
   153         -                if ((this._PreviousEmployees == null))
   154         -                {
   155         -                    this._PreviousEmployees = base.CreateQuery<PreviousEmployees>("[PreviousEmployees]");
   156         -                }
   157         -                return this._PreviousEmployees;
   158         -            }
   159         -        }
   160         -        private global::System.Data.Objects.ObjectQuery<PreviousEmployees> _PreviousEmployees;
   161         -        /// <summary>
   162         -        /// There are no comments for Products in the schema.
   163         -        /// </summary>
   164         -        public global::System.Data.Objects.ObjectQuery<Products> Products
   165         -        {
   166         -            get
   167         -            {
   168         -                if ((this._Products == null))
   169         -                {
   170         -                    this._Products = base.CreateQuery<Products>("[Products]");
   171         -                }
   172         -                return this._Products;
   173         -            }
   174         -        }
   175         -        private global::System.Data.Objects.ObjectQuery<Products> _Products;
   176         -        /// <summary>
   177         -        /// There are no comments for Regions in the schema.
   178         -        /// </summary>
   179         -        public global::System.Data.Objects.ObjectQuery<Regions> Regions
   180         -        {
   181         -            get
   182         -            {
   183         -                if ((this._Regions == null))
   184         -                {
   185         -                    this._Regions = base.CreateQuery<Regions>("[Regions]");
   186         -                }
   187         -                return this._Regions;
   188         -            }
   189         -        }
   190         -        private global::System.Data.Objects.ObjectQuery<Regions> _Regions;
   191         -        /// <summary>
   192         -        /// There are no comments for Suppliers in the schema.
   193         -        /// </summary>
   194         -        public global::System.Data.Objects.ObjectQuery<Suppliers> Suppliers
   195         -        {
   196         -            get
   197         -            {
   198         -                if ((this._Suppliers == null))
   199         -                {
   200         -                    this._Suppliers = base.CreateQuery<Suppliers>("[Suppliers]");
   201         -                }
   202         -                return this._Suppliers;
   203         -            }
   204         -        }
   205         -        private global::System.Data.Objects.ObjectQuery<Suppliers> _Suppliers;
   206         -        /// <summary>
   207         -        /// There are no comments for Territories in the schema.
   208         -        /// </summary>
   209         -        public global::System.Data.Objects.ObjectQuery<Territories> Territories
   210         -        {
   211         -            get
   212         -            {
   213         -                if ((this._Territories == null))
   214         -                {
   215         -                    this._Territories = base.CreateQuery<Territories>("[Territories]");
   216         -                }
   217         -                return this._Territories;
   218         -            }
   219         -        }
   220         -        private global::System.Data.Objects.ObjectQuery<Territories> _Territories;
   221         -        /// <summary>
   222         -        /// There are no comments for Categories in the schema.
           72  +    
           73  +        #endregion
           74  +    
           75  +        #region ObjectSet Properties
           76  +    
           77  +        /// <summary>
           78  +        /// No Metadata Documentation available.
           79  +        /// </summary>
           80  +        public ObjectSet<Categories> Categories
           81  +        {
           82  +            get
           83  +            {
           84  +                if ((_Categories == null))
           85  +                {
           86  +                    _Categories = base.CreateObjectSet<Categories>("Categories");
           87  +                }
           88  +                return _Categories;
           89  +            }
           90  +        }
           91  +        private ObjectSet<Categories> _Categories;
           92  +    
           93  +        /// <summary>
           94  +        /// No Metadata Documentation available.
           95  +        /// </summary>
           96  +        public ObjectSet<Customers> Customers
           97  +        {
           98  +            get
           99  +            {
          100  +                if ((_Customers == null))
          101  +                {
          102  +                    _Customers = base.CreateObjectSet<Customers>("Customers");
          103  +                }
          104  +                return _Customers;
          105  +            }
          106  +        }
          107  +        private ObjectSet<Customers> _Customers;
          108  +    
          109  +        /// <summary>
          110  +        /// No Metadata Documentation available.
          111  +        /// </summary>
          112  +        public ObjectSet<Employees> Employees
          113  +        {
          114  +            get
          115  +            {
          116  +                if ((_Employees == null))
          117  +                {
          118  +                    _Employees = base.CreateObjectSet<Employees>("Employees");
          119  +                }
          120  +                return _Employees;
          121  +            }
          122  +        }
          123  +        private ObjectSet<Employees> _Employees;
          124  +    
          125  +        /// <summary>
          126  +        /// No Metadata Documentation available.
          127  +        /// </summary>
          128  +        public ObjectSet<InternationalOrders> InternationalOrders
          129  +        {
          130  +            get
          131  +            {
          132  +                if ((_InternationalOrders == null))
          133  +                {
          134  +                    _InternationalOrders = base.CreateObjectSet<InternationalOrders>("InternationalOrders");
          135  +                }
          136  +                return _InternationalOrders;
          137  +            }
          138  +        }
          139  +        private ObjectSet<InternationalOrders> _InternationalOrders;
          140  +    
          141  +        /// <summary>
          142  +        /// No Metadata Documentation available.
          143  +        /// </summary>
          144  +        public ObjectSet<OrderDetails> OrderDetails
          145  +        {
          146  +            get
          147  +            {
          148  +                if ((_OrderDetails == null))
          149  +                {
          150  +                    _OrderDetails = base.CreateObjectSet<OrderDetails>("OrderDetails");
          151  +                }
          152  +                return _OrderDetails;
          153  +            }
          154  +        }
          155  +        private ObjectSet<OrderDetails> _OrderDetails;
          156  +    
          157  +        /// <summary>
          158  +        /// No Metadata Documentation available.
          159  +        /// </summary>
          160  +        public ObjectSet<Orders> Orders
          161  +        {
          162  +            get
          163  +            {
          164  +                if ((_Orders == null))
          165  +                {
          166  +                    _Orders = base.CreateObjectSet<Orders>("Orders");
          167  +                }
          168  +                return _Orders;
          169  +            }
          170  +        }
          171  +        private ObjectSet<Orders> _Orders;
          172  +    
          173  +        /// <summary>
          174  +        /// No Metadata Documentation available.
          175  +        /// </summary>
          176  +        public ObjectSet<PreviousEmployees> PreviousEmployees
          177  +        {
          178  +            get
          179  +            {
          180  +                if ((_PreviousEmployees == null))
          181  +                {
          182  +                    _PreviousEmployees = base.CreateObjectSet<PreviousEmployees>("PreviousEmployees");
          183  +                }
          184  +                return _PreviousEmployees;
          185  +            }
          186  +        }
          187  +        private ObjectSet<PreviousEmployees> _PreviousEmployees;
          188  +    
          189  +        /// <summary>
          190  +        /// No Metadata Documentation available.
          191  +        /// </summary>
          192  +        public ObjectSet<Products> Products
          193  +        {
          194  +            get
          195  +            {
          196  +                if ((_Products == null))
          197  +                {
          198  +                    _Products = base.CreateObjectSet<Products>("Products");
          199  +                }
          200  +                return _Products;
          201  +            }
          202  +        }
          203  +        private ObjectSet<Products> _Products;
          204  +    
          205  +        /// <summary>
          206  +        /// No Metadata Documentation available.
          207  +        /// </summary>
          208  +        public ObjectSet<Regions> Regions
          209  +        {
          210  +            get
          211  +            {
          212  +                if ((_Regions == null))
          213  +                {
          214  +                    _Regions = base.CreateObjectSet<Regions>("Regions");
          215  +                }
          216  +                return _Regions;
          217  +            }
          218  +        }
          219  +        private ObjectSet<Regions> _Regions;
          220  +    
          221  +        /// <summary>
          222  +        /// No Metadata Documentation available.
          223  +        /// </summary>
          224  +        public ObjectSet<Suppliers> Suppliers
          225  +        {
          226  +            get
          227  +            {
          228  +                if ((_Suppliers == null))
          229  +                {
          230  +                    _Suppliers = base.CreateObjectSet<Suppliers>("Suppliers");
          231  +                }
          232  +                return _Suppliers;
          233  +            }
          234  +        }
          235  +        private ObjectSet<Suppliers> _Suppliers;
          236  +    
          237  +        /// <summary>
          238  +        /// No Metadata Documentation available.
          239  +        /// </summary>
          240  +        public ObjectSet<Territories> Territories
          241  +        {
          242  +            get
          243  +            {
          244  +                if ((_Territories == null))
          245  +                {
          246  +                    _Territories = base.CreateObjectSet<Territories>("Territories");
          247  +                }
          248  +                return _Territories;
          249  +            }
          250  +        }
          251  +        private ObjectSet<Territories> _Territories;
          252  +
          253  +        #endregion
          254  +        #region AddTo Methods
          255  +    
          256  +        /// <summary>
          257  +        /// Deprecated Method for adding a new object to the Categories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
   223    258           /// </summary>
   224    259           public void AddToCategories(Categories categories)
   225    260           {
   226    261               base.AddObject("Categories", categories);
   227    262           }
          263  +    
   228    264           /// <summary>
   229         -        /// There are no comments for Customers in the schema.
          265  +        /// Deprecated Method for adding a new object to the Customers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
   230    266           /// </summary>
   231    267           public void AddToCustomers(Customers customers)
   232    268           {
   233    269               base.AddObject("Customers", customers);
   234    270           }
          271  +    
   235    272           /// <summary>
   236         -        /// There are no comments for Employees in the schema.
          273  +        /// Deprecated Method for adding a new object to the Employees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
   237    274           /// </summary>
   238    275           public void AddToEmployees(Employees employees)
   239    276           {
   240    277               base.AddObject("Employees", employees);
   241    278           }
          279  +    
   242    280           /// <summary>
   243         -        /// There are no comments for InternationalOrders in the schema.
          281  +        /// Deprecated Method for adding a new object to the InternationalOrders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
   244    282           /// </summary>
   245    283           public void AddToInternationalOrders(InternationalOrders internationalOrders)
   246    284           {
   247    285               base.AddObject("InternationalOrders", internationalOrders);
   248    286           }
          287  +    
   249    288           /// <summary>
   250         -        /// There are no comments for OrderDetails in the schema.
          289  +        /// Deprecated Method for adding a new object to the OrderDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
   251    290           /// </summary>
   252    291           public void AddToOrderDetails(OrderDetails orderDetails)
   253    292           {
   254    293               base.AddObject("OrderDetails", orderDetails);
   255    294           }
          295  +    
   256    296           /// <summary>
   257         -        /// There are no comments for Orders in the schema.
          297  +        /// Deprecated Method for adding a new object to the Orders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
   258    298           /// </summary>
   259    299           public void AddToOrders(Orders orders)
   260    300           {
   261    301               base.AddObject("Orders", orders);
   262    302           }
          303  +    
   263    304           /// <summary>
   264         -        /// There are no comments for PreviousEmployees in the schema.
          305  +        /// Deprecated Method for adding a new object to the PreviousEmployees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
   265    306           /// </summary>
   266    307           public void AddToPreviousEmployees(PreviousEmployees previousEmployees)
   267    308           {
   268    309               base.AddObject("PreviousEmployees", previousEmployees);
   269    310           }
          311  +    
   270    312           /// <summary>
   271         -        /// There are no comments for Products in the schema.
          313  +        /// Deprecated Method for adding a new object to the Products EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
   272    314           /// </summary>
   273    315           public void AddToProducts(Products products)
   274    316           {
   275    317               base.AddObject("Products", products);
   276    318           }
          319  +    
   277    320           /// <summary>
   278         -        /// There are no comments for Regions in the schema.
          321  +        /// Deprecated Method for adding a new object to the Regions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
   279    322           /// </summary>
   280    323           public void AddToRegions(Regions regions)
   281    324           {
   282    325               base.AddObject("Regions", regions);
   283    326           }
          327  +    
   284    328           /// <summary>
   285         -        /// There are no comments for Suppliers in the schema.
          329  +        /// Deprecated Method for adding a new object to the Suppliers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
   286    330           /// </summary>
   287    331           public void AddToSuppliers(Suppliers suppliers)
   288    332           {
   289    333               base.AddObject("Suppliers", suppliers);
   290    334           }
          335  +    
   291    336           /// <summary>
   292         -        /// There are no comments for Territories in the schema.
          337  +        /// Deprecated Method for adding a new object to the Territories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
   293    338           /// </summary>
   294    339           public void AddToTerritories(Territories territories)
   295    340           {
   296    341               base.AddObject("Territories", territories);
   297    342           }
          343  +
          344  +        #endregion
   298    345       }
          346  +    
          347  +
          348  +    #endregion
          349  +    
          350  +    #region Entities
          351  +    
   299    352       /// <summary>
   300         -    /// There are no comments for northwindEFModel.Categories in the schema.
          353  +    /// No Metadata Documentation available.
   301    354       /// </summary>
   302         -    /// <KeyProperties>
   303         -    /// CategoryID
   304         -    /// </KeyProperties>
   305         -    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Categories")]
   306         -    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
   307         -    [global::System.Serializable()]
   308         -    public partial class Categories : global::System.Data.Objects.DataClasses.EntityObject
          355  +    [EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Categories")]
          356  +    [Serializable()]
          357  +    [DataContractAttribute(IsReference=true)]
          358  +    public partial class Categories : EntityObject
   309    359       {
          360  +        #region Factory Method
          361  +    
   310    362           /// <summary>
   311    363           /// Create a new Categories object.
   312    364           /// </summary>
   313         -        /// <param name="categoryID">Initial value of CategoryID.</param>
   314         -        /// <param name="categoryName">Initial value of CategoryName.</param>
   315         -        public static Categories CreateCategories(long categoryID, string categoryName)
          365  +        /// <param name="categoryID">Initial value of the CategoryID property.</param>
          366  +        /// <param name="categoryName">Initial value of the CategoryName property.</param>
          367  +        public static Categories CreateCategories(global::System.Int64 categoryID, global::System.String categoryName)
   316    368           {
   317    369               Categories categories = new Categories();
   318    370               categories.CategoryID = categoryID;
   319    371               categories.CategoryName = categoryName;
   320    372               return categories;
   321    373           }
   322         -        /// <summary>
   323         -        /// There are no comments for Property CategoryID in the schema.
   324         -        /// </summary>
   325         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
   326         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   327         -        public long CategoryID
   328         -        {
   329         -            get
   330         -            {
   331         -                return this._CategoryID;
   332         -            }
   333         -            set
   334         -            {
   335         -                this.OnCategoryIDChanging(value);
   336         -                this.ReportPropertyChanging("CategoryID");
   337         -                this._CategoryID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
   338         -                this.ReportPropertyChanged("CategoryID");
   339         -                this.OnCategoryIDChanged();
   340         -            }
   341         -        }
   342         -        private long _CategoryID;
   343         -        partial void OnCategoryIDChanging(long value);
          374  +
          375  +        #endregion
          376  +        #region Primitive Properties
          377  +    
          378  +        /// <summary>
          379  +        /// No Metadata Documentation available.
          380  +        /// </summary>
          381  +        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
          382  +        [DataMemberAttribute()]
          383  +        public global::System.Int64 CategoryID
          384  +        {
          385  +            get
          386  +            {
          387  +                return _CategoryID;
          388  +            }
          389  +            set
          390  +            {
          391  +                if (_CategoryID != value)
          392  +                {
          393  +                    OnCategoryIDChanging(value);
          394  +                    ReportPropertyChanging("CategoryID");
          395  +                    _CategoryID = StructuralObject.SetValidValue(value);
          396  +                    ReportPropertyChanged("CategoryID");
          397  +                    OnCategoryIDChanged();
          398  +                }
          399  +            }
          400  +        }
          401  +        private global::System.Int64 _CategoryID;
          402  +        partial void OnCategoryIDChanging(global::System.Int64 value);
   344    403           partial void OnCategoryIDChanged();
   345         -        /// <summary>
   346         -        /// There are no comments for Property CategoryName in the schema.
   347         -        /// </summary>
   348         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
   349         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   350         -        public string CategoryName
   351         -        {
   352         -            get
   353         -            {
   354         -                return this._CategoryName;
   355         -            }
   356         -            set
   357         -            {
   358         -                this.OnCategoryNameChanging(value);
   359         -                this.ReportPropertyChanging("CategoryName");
   360         -                this._CategoryName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
   361         -                this.ReportPropertyChanged("CategoryName");
   362         -                this.OnCategoryNameChanged();
   363         -            }
   364         -        }
   365         -        private string _CategoryName;
   366         -        partial void OnCategoryNameChanging(string value);
          404  +    
          405  +        /// <summary>
          406  +        /// No Metadata Documentation available.
          407  +        /// </summary>
          408  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
          409  +        [DataMemberAttribute()]
          410  +        public global::System.String CategoryName
          411  +        {
          412  +            get
          413  +            {
          414  +                return _CategoryName;
          415  +            }
          416  +            set
          417  +            {
          418  +                OnCategoryNameChanging(value);
          419  +                ReportPropertyChanging("CategoryName");
          420  +                _CategoryName = StructuralObject.SetValidValue(value, false);
          421  +                ReportPropertyChanged("CategoryName");
          422  +                OnCategoryNameChanged();
          423  +            }
          424  +        }
          425  +        private global::System.String _CategoryName;
          426  +        partial void OnCategoryNameChanging(global::System.String value);
   367    427           partial void OnCategoryNameChanged();
   368         -        /// <summary>
   369         -        /// There are no comments for Property Description in the schema.
   370         -        /// </summary>
   371         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   372         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   373         -        public string Description
   374         -        {
   375         -            get
   376         -            {
   377         -                return this._Description;
   378         -            }
   379         -            set
   380         -            {
   381         -                this.OnDescriptionChanging(value);
   382         -                this.ReportPropertyChanging("Description");
   383         -                this._Description = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   384         -                this.ReportPropertyChanged("Description");
   385         -                this.OnDescriptionChanged();
   386         -            }
   387         -        }
   388         -        private string _Description;
   389         -        partial void OnDescriptionChanging(string value);
          428  +    
          429  +        /// <summary>
          430  +        /// No Metadata Documentation available.
          431  +        /// </summary>
          432  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          433  +        [DataMemberAttribute()]
          434  +        public global::System.String Description
          435  +        {
          436  +            get
          437  +            {
          438  +                return _Description;
          439  +            }
          440  +            set
          441  +            {
          442  +                OnDescriptionChanging(value);
          443  +                ReportPropertyChanging("Description");
          444  +                _Description = StructuralObject.SetValidValue(value, true);
          445  +                ReportPropertyChanged("Description");
          446  +                OnDescriptionChanged();
          447  +            }
          448  +        }
          449  +        private global::System.String _Description;
          450  +        partial void OnDescriptionChanging(global::System.String value);
   390    451           partial void OnDescriptionChanged();
   391         -        /// <summary>
   392         -        /// There are no comments for Property Picture in the schema.
   393         -        /// </summary>
   394         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   395         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   396         -        public byte[] Picture
   397         -        {
   398         -            get
   399         -            {
   400         -                return global::System.Data.Objects.DataClasses.StructuralObject.GetValidValue(this._Picture);
   401         -            }
   402         -            set
   403         -            {
   404         -                this.OnPictureChanging(value);
   405         -                this.ReportPropertyChanging("Picture");
   406         -                this._Picture = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   407         -                this.ReportPropertyChanged("Picture");
   408         -                this.OnPictureChanged();
   409         -            }
   410         -        }
   411         -        private byte[] _Picture;
   412         -        partial void OnPictureChanging(byte[] value);
          452  +    
          453  +        /// <summary>
          454  +        /// No Metadata Documentation available.
          455  +        /// </summary>
          456  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          457  +        [DataMemberAttribute()]
          458  +        public global::System.Byte[] Picture
          459  +        {
          460  +            get
          461  +            {
          462  +                return StructuralObject.GetValidValue(_Picture);
          463  +            }
          464  +            set
          465  +            {
          466  +                OnPictureChanging(value);
          467  +                ReportPropertyChanging("Picture");
          468  +                _Picture = StructuralObject.SetValidValue(value, true);
          469  +                ReportPropertyChanged("Picture");
          470  +                OnPictureChanged();
          471  +            }
          472  +        }
          473  +        private global::System.Byte[] _Picture;
          474  +        partial void OnPictureChanging(global::System.Byte[] value);
   413    475           partial void OnPictureChanged();
   414         -        /// <summary>
   415         -        /// There are no comments for Products in the schema.
   416         -        /// </summary>
   417         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Products_CategoryID_CategoryID", "Products")]
   418         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
   419         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
   420         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   421         -        public global::System.Data.Objects.DataClasses.EntityCollection<Products> Products
   422         -        {
   423         -            get
   424         -            {
   425         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Products>("northwindEFModel.FK_Products_CategoryID_CategoryID", "Products");
   426         -            }
   427         -            set
   428         -            {
   429         -                if ((value != null))
   430         -                {
   431         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Products>("northwindEFModel.FK_Products_CategoryID_CategoryID", "Products", value);
   432         -                }
   433         -            }
   434         -        }
          476  +
          477  +        #endregion
          478  +    
          479  +        #region Navigation Properties
          480  +    
          481  +        /// <summary>
          482  +        /// No Metadata Documentation available.
          483  +        /// </summary>
          484  +        [XmlIgnoreAttribute()]
          485  +        [SoapIgnoreAttribute()]
          486  +        [DataMemberAttribute()]
          487  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Products_CategoryID_CategoryID", "Products")]
          488  +        public EntityCollection<Products> Products
          489  +        {
          490  +            get
          491  +            {
          492  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Products>("northwindEFModel.FK_Products_CategoryID_CategoryID", "Products");
          493  +            }
          494  +            set
          495  +            {
          496  +                if ((value != null))
          497  +                {
          498  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection<Products>("northwindEFModel.FK_Products_CategoryID_CategoryID", "Products", value);
          499  +                }
          500  +            }
          501  +        }
          502  +
          503  +        #endregion
   435    504       }
          505  +    
   436    506       /// <summary>
   437         -    /// There are no comments for northwindEFModel.Customers in the schema.
          507  +    /// No Metadata Documentation available.
   438    508       /// </summary>
   439         -    /// <KeyProperties>
   440         -    /// CustomerID
   441         -    /// </KeyProperties>
   442         -    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Customers")]
   443         -    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
   444         -    [global::System.Serializable()]
   445         -    public partial class Customers : global::System.Data.Objects.DataClasses.EntityObject
          509  +    [EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Customers")]
          510  +    [Serializable()]
          511  +    [DataContractAttribute(IsReference=true)]
          512  +    public partial class Customers : EntityObject
   446    513       {
          514  +        #region Factory Method
          515  +    
   447    516           /// <summary>
   448    517           /// Create a new Customers object.
   449    518           /// </summary>
   450         -        /// <param name="customerID">Initial value of CustomerID.</param>
   451         -        /// <param name="companyName">Initial value of CompanyName.</param>
   452         -        public static Customers CreateCustomers(string customerID, string companyName)
          519  +        /// <param name="customerID">Initial value of the CustomerID property.</param>
          520  +        /// <param name="companyName">Initial value of the CompanyName property.</param>
          521  +        public static Customers CreateCustomers(global::System.String customerID, global::System.String companyName)
   453    522           {
   454    523               Customers customers = new Customers();
   455    524               customers.CustomerID = customerID;
   456    525               customers.CompanyName = companyName;
   457    526               return customers;
   458    527           }
   459         -        /// <summary>
   460         -        /// There are no comments for Property CustomerID in the schema.
   461         -        /// </summary>
   462         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
   463         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   464         -        public string CustomerID
   465         -        {
   466         -            get
   467         -            {
   468         -                return this._CustomerID;
   469         -            }
   470         -            set
   471         -            {
   472         -                this.OnCustomerIDChanging(value);
   473         -                this.ReportPropertyChanging("CustomerID");
   474         -                this._CustomerID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
   475         -                this.ReportPropertyChanged("CustomerID");
   476         -                this.OnCustomerIDChanged();
   477         -            }
   478         -        }
   479         -        private string _CustomerID;
   480         -        partial void OnCustomerIDChanging(string value);
          528  +
          529  +        #endregion
          530  +        #region Primitive Properties
          531  +    
          532  +        /// <summary>
          533  +        /// No Metadata Documentation available.
          534  +        /// </summary>
          535  +        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
          536  +        [DataMemberAttribute()]
          537  +        public global::System.String CustomerID
          538  +        {
          539  +            get
          540  +            {
          541  +                return _CustomerID;
          542  +            }
          543  +            set
          544  +            {
          545  +                if (_CustomerID != value)
          546  +                {
          547  +                    OnCustomerIDChanging(value);
          548  +                    ReportPropertyChanging("CustomerID");
          549  +                    _CustomerID = StructuralObject.SetValidValue(value, false);
          550  +                    ReportPropertyChanged("CustomerID");
          551  +                    OnCustomerIDChanged();
          552  +                }
          553  +            }
          554  +        }
          555  +        private global::System.String _CustomerID;
          556  +        partial void OnCustomerIDChanging(global::System.String value);
   481    557           partial void OnCustomerIDChanged();
   482         -        /// <summary>
   483         -        /// There are no comments for Property CompanyName in the schema.
   484         -        /// </summary>
   485         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
   486         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   487         -        public string CompanyName
   488         -        {
   489         -            get
   490         -            {
   491         -                return this._CompanyName;
   492         -            }
   493         -            set
   494         -            {
   495         -                this.OnCompanyNameChanging(value);
   496         -                this.ReportPropertyChanging("CompanyName");
   497         -                this._CompanyName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
   498         -                this.ReportPropertyChanged("CompanyName");
   499         -                this.OnCompanyNameChanged();
   500         -            }
   501         -        }
   502         -        private string _CompanyName;
   503         -        partial void OnCompanyNameChanging(string value);
          558  +    
          559  +        /// <summary>
          560  +        /// No Metadata Documentation available.
          561  +        /// </summary>
          562  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
          563  +        [DataMemberAttribute()]
          564  +        public global::System.String CompanyName
          565  +        {
          566  +            get
          567  +            {
          568  +                return _CompanyName;
          569  +            }
          570  +            set
          571  +            {
          572  +                OnCompanyNameChanging(value);
          573  +                ReportPropertyChanging("CompanyName");
          574  +                _CompanyName = StructuralObject.SetValidValue(value, false);
          575  +                ReportPropertyChanged("CompanyName");
          576  +                OnCompanyNameChanged();
          577  +            }
          578  +        }
          579  +        private global::System.String _CompanyName;
          580  +        partial void OnCompanyNameChanging(global::System.String value);
   504    581           partial void OnCompanyNameChanged();
   505         -        /// <summary>
   506         -        /// There are no comments for Property ContactName in the schema.
   507         -        /// </summary>
   508         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   509         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   510         -        public string ContactName
   511         -        {
   512         -            get
   513         -            {
   514         -                return this._ContactName;
   515         -            }
   516         -            set
   517         -            {
   518         -                this.OnContactNameChanging(value);
   519         -                this.ReportPropertyChanging("ContactName");
   520         -                this._ContactName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   521         -                this.ReportPropertyChanged("ContactName");
   522         -                this.OnContactNameChanged();
   523         -            }
   524         -        }
   525         -        private string _ContactName;
   526         -        partial void OnContactNameChanging(string value);
          582  +    
          583  +        /// <summary>
          584  +        /// No Metadata Documentation available.
          585  +        /// </summary>
          586  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          587  +        [DataMemberAttribute()]
          588  +        public global::System.String ContactName
          589  +        {
          590  +            get
          591  +            {
          592  +                return _ContactName;
          593  +            }
          594  +            set
          595  +            {
          596  +                OnContactNameChanging(value);
          597  +                ReportPropertyChanging("ContactName");
          598  +                _ContactName = StructuralObject.SetValidValue(value, true);
          599  +                ReportPropertyChanged("ContactName");
          600  +                OnContactNameChanged();
          601  +            }
          602  +        }
          603  +        private global::System.String _ContactName;
          604  +        partial void OnContactNameChanging(global::System.String value);
   527    605           partial void OnContactNameChanged();
   528         -        /// <summary>
   529         -        /// There are no comments for Property ContactTitle in the schema.
   530         -        /// </summary>
   531         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   532         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   533         -        public string ContactTitle
   534         -        {
   535         -            get
   536         -            {
   537         -                return this._ContactTitle;
   538         -            }
   539         -            set
   540         -            {
   541         -                this.OnContactTitleChanging(value);
   542         -                this.ReportPropertyChanging("ContactTitle");
   543         -                this._ContactTitle = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   544         -                this.ReportPropertyChanged("ContactTitle");
   545         -                this.OnContactTitleChanged();
   546         -            }
   547         -        }
   548         -        private string _ContactTitle;
   549         -        partial void OnContactTitleChanging(string value);
          606  +    
          607  +        /// <summary>
          608  +        /// No Metadata Documentation available.
          609  +        /// </summary>
          610  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          611  +        [DataMemberAttribute()]
          612  +        public global::System.String ContactTitle
          613  +        {
          614  +            get
          615  +            {
          616  +                return _ContactTitle;
          617  +            }
          618  +            set
          619  +            {
          620  +                OnContactTitleChanging(value);
          621  +                ReportPropertyChanging("ContactTitle");
          622  +                _ContactTitle = StructuralObject.SetValidValue(value, true);
          623  +                ReportPropertyChanged("ContactTitle");
          624  +                OnContactTitleChanged();
          625  +            }
          626  +        }
          627  +        private global::System.String _ContactTitle;
          628  +        partial void OnContactTitleChanging(global::System.String value);
   550    629           partial void OnContactTitleChanged();
   551         -        /// <summary>
   552         -        /// There are no comments for Property Address in the schema.
   553         -        /// </summary>
   554         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   555         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   556         -        public string Address
   557         -        {
   558         -            get
   559         -            {
   560         -                return this._Address;
   561         -            }
   562         -            set
   563         -            {
   564         -                this.OnAddressChanging(value);
   565         -                this.ReportPropertyChanging("Address");
   566         -                this._Address = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   567         -                this.ReportPropertyChanged("Address");
   568         -                this.OnAddressChanged();
   569         -            }
   570         -        }
   571         -        private string _Address;
   572         -        partial void OnAddressChanging(string value);
          630  +    
          631  +        /// <summary>
          632  +        /// No Metadata Documentation available.
          633  +        /// </summary>
          634  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          635  +        [DataMemberAttribute()]
          636  +        public global::System.String Address
          637  +        {
          638  +            get
          639  +            {
          640  +                return _Address;
          641  +            }
          642  +            set
          643  +            {
          644  +                OnAddressChanging(value);
          645  +                ReportPropertyChanging("Address");
          646  +                _Address = StructuralObject.SetValidValue(value, true);
          647  +                ReportPropertyChanged("Address");
          648  +                OnAddressChanged();
          649  +            }
          650  +        }
          651  +        private global::System.String _Address;
          652  +        partial void OnAddressChanging(global::System.String value);
   573    653           partial void OnAddressChanged();
   574         -        /// <summary>
   575         -        /// There are no comments for Property City in the schema.
   576         -        /// </summary>
   577         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   578         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   579         -        public string City
   580         -        {
   581         -            get
   582         -            {
   583         -                return this._City;
   584         -            }
   585         -            set
   586         -            {
   587         -                this.OnCityChanging(value);
   588         -                this.ReportPropertyChanging("City");
   589         -                this._City = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   590         -                this.ReportPropertyChanged("City");
   591         -                this.OnCityChanged();
   592         -            }
   593         -        }
   594         -        private string _City;
   595         -        partial void OnCityChanging(string value);
          654  +    
          655  +        /// <summary>
          656  +        /// No Metadata Documentation available.
          657  +        /// </summary>
          658  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          659  +        [DataMemberAttribute()]
          660  +        public global::System.String City
          661  +        {
          662  +            get
          663  +            {
          664  +                return _City;
          665  +            }
          666  +            set
          667  +            {
          668  +                OnCityChanging(value);
          669  +                ReportPropertyChanging("City");
          670  +                _City = StructuralObject.SetValidValue(value, true);
          671  +                ReportPropertyChanged("City");
          672  +                OnCityChanged();
          673  +            }
          674  +        }
          675  +        private global::System.String _City;
          676  +        partial void OnCityChanging(global::System.String value);
   596    677           partial void OnCityChanged();
   597         -        /// <summary>
   598         -        /// There are no comments for Property Region in the schema.
   599         -        /// </summary>
   600         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   601         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   602         -        public string Region
   603         -        {
   604         -            get
   605         -            {
   606         -                return this._Region;
   607         -            }
   608         -            set
   609         -            {
   610         -                this.OnRegionChanging(value);
   611         -                this.ReportPropertyChanging("Region");
   612         -                this._Region = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   613         -                this.ReportPropertyChanged("Region");
   614         -                this.OnRegionChanged();
   615         -            }
   616         -        }
   617         -        private string _Region;
   618         -        partial void OnRegionChanging(string value);
          678  +    
          679  +        /// <summary>
          680  +        /// No Metadata Documentation available.
          681  +        /// </summary>
          682  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          683  +        [DataMemberAttribute()]
          684  +        public global::System.String Region
          685  +        {
          686  +            get
          687  +            {
          688  +                return _Region;
          689  +            }
          690  +            set
          691  +            {
          692  +                OnRegionChanging(value);
          693  +                ReportPropertyChanging("Region");
          694  +                _Region = StructuralObject.SetValidValue(value, true);
          695  +                ReportPropertyChanged("Region");
          696  +                OnRegionChanged();
          697  +            }
          698  +        }
          699  +        private global::System.String _Region;
          700  +        partial void OnRegionChanging(global::System.String value);
   619    701           partial void OnRegionChanged();
   620         -        /// <summary>
   621         -        /// There are no comments for Property PostalCode in the schema.
   622         -        /// </summary>
   623         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   624         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   625         -        public string PostalCode
   626         -        {
   627         -            get
   628         -            {
   629         -                return this._PostalCode;
   630         -            }
   631         -            set
   632         -            {
   633         -                this.OnPostalCodeChanging(value);
   634         -                this.ReportPropertyChanging("PostalCode");
   635         -                this._PostalCode = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   636         -                this.ReportPropertyChanged("PostalCode");
   637         -                this.OnPostalCodeChanged();
   638         -            }
   639         -        }
   640         -        private string _PostalCode;
   641         -        partial void OnPostalCodeChanging(string value);
          702  +    
          703  +        /// <summary>
          704  +        /// No Metadata Documentation available.
          705  +        /// </summary>
          706  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          707  +        [DataMemberAttribute()]
          708  +        public global::System.String PostalCode
          709  +        {
          710  +            get
          711  +            {
          712  +                return _PostalCode;
          713  +            }
          714  +            set
          715  +            {
          716  +                OnPostalCodeChanging(value);
          717  +                ReportPropertyChanging("PostalCode");
          718  +                _PostalCode = StructuralObject.SetValidValue(value, true);
          719  +                ReportPropertyChanged("PostalCode");
          720  +                OnPostalCodeChanged();
          721  +            }
          722  +        }
          723  +        private global::System.String _PostalCode;
          724  +        partial void OnPostalCodeChanging(global::System.String value);
   642    725           partial void OnPostalCodeChanged();
   643         -        /// <summary>
   644         -        /// There are no comments for Property Country in the schema.
   645         -        /// </summary>
   646         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   647         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   648         -        public string Country
   649         -        {
   650         -            get
   651         -            {
   652         -                return this._Country;
   653         -            }
   654         -            set
   655         -            {
   656         -                this.OnCountryChanging(value);
   657         -                this.ReportPropertyChanging("Country");
   658         -                this._Country = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   659         -                this.ReportPropertyChanged("Country");
   660         -                this.OnCountryChanged();
   661         -            }
   662         -        }
   663         -        private string _Country;
   664         -        partial void OnCountryChanging(string value);
          726  +    
          727  +        /// <summary>
          728  +        /// No Metadata Documentation available.
          729  +        /// </summary>
          730  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          731  +        [DataMemberAttribute()]
          732  +        public global::System.String Country
          733  +        {
          734  +            get
          735  +            {
          736  +                return _Country;
          737  +            }
          738  +            set
          739  +            {
          740  +                OnCountryChanging(value);
          741  +                ReportPropertyChanging("Country");
          742  +                _Country = StructuralObject.SetValidValue(value, true);
          743  +                ReportPropertyChanged("Country");
          744  +                OnCountryChanged();
          745  +            }
          746  +        }
          747  +        private global::System.String _Country;
          748  +        partial void OnCountryChanging(global::System.String value);
   665    749           partial void OnCountryChanged();
   666         -        /// <summary>
   667         -        /// There are no comments for Property Phone in the schema.
   668         -        /// </summary>
   669         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   670         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   671         -        public string Phone
   672         -        {
   673         -            get
   674         -            {
   675         -                return this._Phone;
   676         -            }
   677         -            set
   678         -            {
   679         -                this.OnPhoneChanging(value);
   680         -                this.ReportPropertyChanging("Phone");
   681         -                this._Phone = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   682         -                this.ReportPropertyChanged("Phone");
   683         -                this.OnPhoneChanged();
   684         -            }
   685         -        }
   686         -        private string _Phone;
   687         -        partial void OnPhoneChanging(string value);
          750  +    
          751  +        /// <summary>
          752  +        /// No Metadata Documentation available.
          753  +        /// </summary>
          754  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          755  +        [DataMemberAttribute()]
          756  +        public global::System.String Phone
          757  +        {
          758  +            get
          759  +            {
          760  +                return _Phone;
          761  +            }
          762  +            set
          763  +            {
          764  +                OnPhoneChanging(value);
          765  +                ReportPropertyChanging("Phone");
          766  +                _Phone = StructuralObject.SetValidValue(value, true);
          767  +                ReportPropertyChanged("Phone");
          768  +                OnPhoneChanged();
          769  +            }
          770  +        }
          771  +        private global::System.String _Phone;
          772  +        partial void OnPhoneChanging(global::System.String value);
   688    773           partial void OnPhoneChanged();
   689         -        /// <summary>
   690         -        /// There are no comments for Property Fax in the schema.
   691         -        /// </summary>
   692         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   693         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   694         -        public string Fax
   695         -        {
   696         -            get
   697         -            {
   698         -                return this._Fax;
   699         -            }
   700         -            set
   701         -            {
   702         -                this.OnFaxChanging(value);
   703         -                this.ReportPropertyChanging("Fax");
   704         -                this._Fax = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   705         -                this.ReportPropertyChanged("Fax");
   706         -                this.OnFaxChanged();
   707         -            }
   708         -        }
   709         -        private string _Fax;
   710         -        partial void OnFaxChanging(string value);
          774  +    
          775  +        /// <summary>
          776  +        /// No Metadata Documentation available.
          777  +        /// </summary>
          778  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          779  +        [DataMemberAttribute()]
          780  +        public global::System.String Fax
          781  +        {
          782  +            get
          783  +            {
          784  +                return _Fax;
          785  +            }
          786  +            set
          787  +            {
          788  +                OnFaxChanging(value);
          789  +                ReportPropertyChanging("Fax");
          790  +                _Fax = StructuralObject.SetValidValue(value, true);
          791  +                ReportPropertyChanged("Fax");
          792  +                OnFaxChanged();
          793  +            }
          794  +        }
          795  +        private global::System.String _Fax;
          796  +        partial void OnFaxChanging(global::System.String value);
   711    797           partial void OnFaxChanged();
   712         -        /// <summary>
   713         -        /// There are no comments for Orders in the schema.
   714         -        /// </summary>
   715         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Orders_CustomerID_CustomerID", "Orders")]
   716         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
   717         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
   718         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   719         -        public global::System.Data.Objects.DataClasses.EntityCollection<Orders> Orders
   720         -        {
   721         -            get
   722         -            {
   723         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Orders>("northwindEFModel.FK_Orders_CustomerID_CustomerID", "Orders");
   724         -            }
   725         -            set
   726         -            {
   727         -                if ((value != null))
   728         -                {
   729         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Orders>("northwindEFModel.FK_Orders_CustomerID_CustomerID", "Orders", value);
   730         -                }
   731         -            }
   732         -        }
          798  +
          799  +        #endregion
          800  +    
          801  +        #region Navigation Properties
          802  +    
          803  +        /// <summary>
          804  +        /// No Metadata Documentation available.
          805  +        /// </summary>
          806  +        [XmlIgnoreAttribute()]
          807  +        [SoapIgnoreAttribute()]
          808  +        [DataMemberAttribute()]
          809  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Orders_CustomerID_CustomerID", "Orders")]
          810  +        public EntityCollection<Orders> Orders
          811  +        {
          812  +            get
          813  +            {
          814  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Orders>("northwindEFModel.FK_Orders_CustomerID_CustomerID", "Orders");
          815  +            }
          816  +            set
          817  +            {
          818  +                if ((value != null))
          819  +                {
          820  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection<Orders>("northwindEFModel.FK_Orders_CustomerID_CustomerID", "Orders", value);
          821  +                }
          822  +            }
          823  +        }
          824  +
          825  +        #endregion
   733    826       }
          827  +    
   734    828       /// <summary>
   735         -    /// There are no comments for northwindEFModel.Employees in the schema.
          829  +    /// No Metadata Documentation available.
   736    830       /// </summary>
   737         -    /// <KeyProperties>
   738         -    /// EmployeeID
   739         -    /// </KeyProperties>
   740         -    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Employees")]
   741         -    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
   742         -    [global::System.Serializable()]
   743         -    public partial class Employees : global::System.Data.Objects.DataClasses.EntityObject
          831  +    [EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Employees")]
          832  +    [Serializable()]
          833  +    [DataContractAttribute(IsReference=true)]
          834  +    public partial class Employees : EntityObject
   744    835       {
          836  +        #region Factory Method
          837  +    
   745    838           /// <summary>
   746    839           /// Create a new Employees object.
   747    840           /// </summary>
   748         -        /// <param name="employeeID">Initial value of EmployeeID.</param>
   749         -        /// <param name="lastName">Initial value of LastName.</param>
   750         -        /// <param name="firstName">Initial value of FirstName.</param>
   751         -        public static Employees CreateEmployees(long employeeID, string lastName, string firstName)
          841  +        /// <param name="employeeID">Initial value of the EmployeeID property.</param>
          842  +        /// <param name="lastName">Initial value of the LastName property.</param>
          843  +        /// <param name="firstName">Initial value of the FirstName property.</param>
          844  +        public static Employees CreateEmployees(global::System.Int64 employeeID, global::System.String lastName, global::System.String firstName)
   752    845           {
   753    846               Employees employees = new Employees();
   754    847               employees.EmployeeID = employeeID;
   755    848               employees.LastName = lastName;
   756    849               employees.FirstName = firstName;
   757    850               return employees;
   758    851           }
   759         -        /// <summary>
   760         -        /// There are no comments for Property EmployeeID in the schema.
   761         -        /// </summary>
   762         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
   763         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   764         -        public long EmployeeID
   765         -        {
   766         -            get
   767         -            {
   768         -                return this._EmployeeID;
   769         -            }
   770         -            set
   771         -            {
   772         -                this.OnEmployeeIDChanging(value);
   773         -                this.ReportPropertyChanging("EmployeeID");
   774         -                this._EmployeeID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
   775         -                this.ReportPropertyChanged("EmployeeID");
   776         -                this.OnEmployeeIDChanged();
   777         -            }
   778         -        }
   779         -        private long _EmployeeID;
   780         -        partial void OnEmployeeIDChanging(long value);
          852  +
          853  +        #endregion
          854  +        #region Primitive Properties
          855  +    
          856  +        /// <summary>
          857  +        /// No Metadata Documentation available.
          858  +        /// </summary>
          859  +        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
          860  +        [DataMemberAttribute()]
          861  +        public global::System.Int64 EmployeeID
          862  +        {
          863  +            get
          864  +            {
          865  +                return _EmployeeID;
          866  +            }
          867  +            set
          868  +            {
          869  +                if (_EmployeeID != value)
          870  +                {
          871  +                    OnEmployeeIDChanging(value);
          872  +                    ReportPropertyChanging("EmployeeID");
          873  +                    _EmployeeID = StructuralObject.SetValidValue(value);
          874  +                    ReportPropertyChanged("EmployeeID");
          875  +                    OnEmployeeIDChanged();
          876  +                }
          877  +            }
          878  +        }
          879  +        private global::System.Int64 _EmployeeID;
          880  +        partial void OnEmployeeIDChanging(global::System.Int64 value);
   781    881           partial void OnEmployeeIDChanged();
   782         -        /// <summary>
   783         -        /// There are no comments for Property LastName in the schema.
   784         -        /// </summary>
   785         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
   786         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   787         -        public string LastName
   788         -        {
   789         -            get
   790         -            {
   791         -                return this._LastName;
   792         -            }
   793         -            set
   794         -            {
   795         -                this.OnLastNameChanging(value);
   796         -                this.ReportPropertyChanging("LastName");
   797         -                this._LastName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
   798         -                this.ReportPropertyChanged("LastName");
   799         -                this.OnLastNameChanged();
   800         -            }
   801         -        }
   802         -        private string _LastName;
   803         -        partial void OnLastNameChanging(string value);
          882  +    
          883  +        /// <summary>
          884  +        /// No Metadata Documentation available.
          885  +        /// </summary>
          886  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
          887  +        [DataMemberAttribute()]
          888  +        public global::System.String LastName
          889  +        {
          890  +            get
          891  +            {
          892  +                return _LastName;
          893  +            }
          894  +            set
          895  +            {
          896  +                OnLastNameChanging(value);
          897  +                ReportPropertyChanging("LastName");
          898  +                _LastName = StructuralObject.SetValidValue(value, false);
          899  +                ReportPropertyChanged("LastName");
          900  +                OnLastNameChanged();
          901  +            }
          902  +        }
          903  +        private global::System.String _LastName;
          904  +        partial void OnLastNameChanging(global::System.String value);
   804    905           partial void OnLastNameChanged();
   805         -        /// <summary>
   806         -        /// There are no comments for Property FirstName in the schema.
   807         -        /// </summary>
   808         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
   809         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   810         -        public string FirstName
   811         -        {
   812         -            get
   813         -            {
   814         -                return this._FirstName;
   815         -            }
   816         -            set
   817         -            {
   818         -                this.OnFirstNameChanging(value);
   819         -                this.ReportPropertyChanging("FirstName");
   820         -                this._FirstName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
   821         -                this.ReportPropertyChanged("FirstName");
   822         -                this.OnFirstNameChanged();
   823         -            }
   824         -        }
   825         -        private string _FirstName;
   826         -        partial void OnFirstNameChanging(string value);
          906  +    
          907  +        /// <summary>
          908  +        /// No Metadata Documentation available.
          909  +        /// </summary>
          910  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
          911  +        [DataMemberAttribute()]
          912  +        public global::System.String FirstName
          913  +        {
          914  +            get
          915  +            {
          916  +                return _FirstName;
          917  +            }
          918  +            set
          919  +            {
          920  +                OnFirstNameChanging(value);
          921  +                ReportPropertyChanging("FirstName");
          922  +                _FirstName = StructuralObject.SetValidValue(value, false);
          923  +                ReportPropertyChanged("FirstName");
          924  +                OnFirstNameChanged();
          925  +            }
          926  +        }
          927  +        private global::System.String _FirstName;
          928  +        partial void OnFirstNameChanging(global::System.String value);
   827    929           partial void OnFirstNameChanged();
   828         -        /// <summary>
   829         -        /// There are no comments for Property Title in the schema.
   830         -        /// </summary>
   831         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   832         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   833         -        public string Title
   834         -        {
   835         -            get
   836         -            {
   837         -                return this._Title;
   838         -            }
   839         -            set
   840         -            {
   841         -                this.OnTitleChanging(value);
   842         -                this.ReportPropertyChanging("Title");
   843         -                this._Title = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   844         -                this.ReportPropertyChanged("Title");
   845         -                this.OnTitleChanged();
   846         -            }
   847         -        }
   848         -        private string _Title;
   849         -        partial void OnTitleChanging(string value);
          930  +    
          931  +        /// <summary>
          932  +        /// No Metadata Documentation available.
          933  +        /// </summary>
          934  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          935  +        [DataMemberAttribute()]
          936  +        public global::System.String Title
          937  +        {
          938  +            get
          939  +            {
          940  +                return _Title;
          941  +            }
          942  +            set
          943  +            {
          944  +                OnTitleChanging(value);
          945  +                ReportPropertyChanging("Title");
          946  +                _Title = StructuralObject.SetValidValue(value, true);
          947  +                ReportPropertyChanged("Title");
          948  +                OnTitleChanged();
          949  +            }
          950  +        }
          951  +        private global::System.String _Title;
          952  +        partial void OnTitleChanging(global::System.String value);
   850    953           partial void OnTitleChanged();
   851         -        /// <summary>
   852         -        /// There are no comments for Property TitleOfCourtesy in the schema.
   853         -        /// </summary>
   854         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   855         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   856         -        public string TitleOfCourtesy
   857         -        {
   858         -            get
   859         -            {
   860         -                return this._TitleOfCourtesy;
   861         -            }
   862         -            set
   863         -            {
   864         -                this.OnTitleOfCourtesyChanging(value);
   865         -                this.ReportPropertyChanging("TitleOfCourtesy");
   866         -                this._TitleOfCourtesy = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   867         -                this.ReportPropertyChanged("TitleOfCourtesy");
   868         -                this.OnTitleOfCourtesyChanged();
   869         -            }
   870         -        }
   871         -        private string _TitleOfCourtesy;
   872         -        partial void OnTitleOfCourtesyChanging(string value);
          954  +    
          955  +        /// <summary>
          956  +        /// No Metadata Documentation available.
          957  +        /// </summary>
          958  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          959  +        [DataMemberAttribute()]
          960  +        public global::System.String TitleOfCourtesy
          961  +        {
          962  +            get
          963  +            {
          964  +                return _TitleOfCourtesy;
          965  +            }
          966  +            set
          967  +            {
          968  +                OnTitleOfCourtesyChanging(value);
          969  +                ReportPropertyChanging("TitleOfCourtesy");
          970  +                _TitleOfCourtesy = StructuralObject.SetValidValue(value, true);
          971  +                ReportPropertyChanged("TitleOfCourtesy");
          972  +                OnTitleOfCourtesyChanged();
          973  +            }
          974  +        }
          975  +        private global::System.String _TitleOfCourtesy;
          976  +        partial void OnTitleOfCourtesyChanging(global::System.String value);
   873    977           partial void OnTitleOfCourtesyChanged();
   874         -        /// <summary>
   875         -        /// There are no comments for Property BirthDate in the schema.
   876         -        /// </summary>
   877         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   878         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   879         -        public global::System.Nullable<global::System.DateTime> BirthDate
   880         -        {
   881         -            get
   882         -            {
   883         -                return this._BirthDate;
   884         -            }
   885         -            set
   886         -            {
   887         -                this.OnBirthDateChanging(value);
   888         -                this.ReportPropertyChanging("BirthDate");
   889         -                this._BirthDate = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
   890         -                this.ReportPropertyChanged("BirthDate");
   891         -                this.OnBirthDateChanged();
   892         -            }
   893         -        }
   894         -        private global::System.Nullable<global::System.DateTime> _BirthDate;
   895         -        partial void OnBirthDateChanging(global::System.Nullable<global::System.DateTime> value);
          978  +    
          979  +        /// <summary>
          980  +        /// No Metadata Documentation available.
          981  +        /// </summary>
          982  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
          983  +        [DataMemberAttribute()]
          984  +        public Nullable<global::System.DateTime> BirthDate
          985  +        {
          986  +            get
          987  +            {
          988  +                return _BirthDate;
          989  +            }
          990  +            set
          991  +            {
          992  +                OnBirthDateChanging(value);
          993  +                ReportPropertyChanging("BirthDate");
          994  +                _BirthDate = StructuralObject.SetValidValue(value);
          995  +                ReportPropertyChanged("BirthDate");
          996  +                OnBirthDateChanged();
          997  +            }
          998  +        }
          999  +        private Nullable<global::System.DateTime> _BirthDate;
         1000  +        partial void OnBirthDateChanging(Nullable<global::System.DateTime> value);
   896   1001           partial void OnBirthDateChanged();
   897         -        /// <summary>
   898         -        /// There are no comments for Property HireDate in the schema.
   899         -        /// </summary>
   900         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   901         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   902         -        public global::System.Nullable<global::System.DateTime> HireDate
   903         -        {
   904         -            get
   905         -            {
   906         -                return this._HireDate;
   907         -            }
   908         -            set
   909         -            {
   910         -                this.OnHireDateChanging(value);
   911         -                this.ReportPropertyChanging("HireDate");
   912         -                this._HireDate = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
   913         -                this.ReportPropertyChanged("HireDate");
   914         -                this.OnHireDateChanged();
   915         -            }
   916         -        }
   917         -        private global::System.Nullable<global::System.DateTime> _HireDate;
   918         -        partial void OnHireDateChanging(global::System.Nullable<global::System.DateTime> value);
         1002  +    
         1003  +        /// <summary>
         1004  +        /// No Metadata Documentation available.
         1005  +        /// </summary>
         1006  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1007  +        [DataMemberAttribute()]
         1008  +        public Nullable<global::System.DateTime> HireDate
         1009  +        {
         1010  +            get
         1011  +            {
         1012  +                return _HireDate;
         1013  +            }
         1014  +            set
         1015  +            {
         1016  +                OnHireDateChanging(value);
         1017  +                ReportPropertyChanging("HireDate");
         1018  +                _HireDate = StructuralObject.SetValidValue(value);
         1019  +                ReportPropertyChanged("HireDate");
         1020  +                OnHireDateChanged();
         1021  +            }
         1022  +        }
         1023  +        private Nullable<global::System.DateTime> _HireDate;
         1024  +        partial void OnHireDateChanging(Nullable<global::System.DateTime> value);
   919   1025           partial void OnHireDateChanged();
   920         -        /// <summary>
   921         -        /// There are no comments for Property Address in the schema.
   922         -        /// </summary>
   923         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   924         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   925         -        public string Address
   926         -        {
   927         -            get
   928         -            {
   929         -                return this._Address;
   930         -            }
   931         -            set
   932         -            {
   933         -                this.OnAddressChanging(value);
   934         -                this.ReportPropertyChanging("Address");
   935         -                this._Address = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   936         -                this.ReportPropertyChanged("Address");
   937         -                this.OnAddressChanged();
   938         -            }
   939         -        }
   940         -        private string _Address;
   941         -        partial void OnAddressChanging(string value);
         1026  +    
         1027  +        /// <summary>
         1028  +        /// No Metadata Documentation available.
         1029  +        /// </summary>
         1030  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1031  +        [DataMemberAttribute()]
         1032  +        public global::System.String Address
         1033  +        {
         1034  +            get
         1035  +            {
         1036  +                return _Address;
         1037  +            }
         1038  +            set
         1039  +            {
         1040  +                OnAddressChanging(value);
         1041  +                ReportPropertyChanging("Address");
         1042  +                _Address = StructuralObject.SetValidValue(value, true);
         1043  +                ReportPropertyChanged("Address");
         1044  +                OnAddressChanged();
         1045  +            }
         1046  +        }
         1047  +        private global::System.String _Address;
         1048  +        partial void OnAddressChanging(global::System.String value);
   942   1049           partial void OnAddressChanged();
   943         -        /// <summary>
   944         -        /// There are no comments for Property City in the schema.
   945         -        /// </summary>
   946         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   947         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   948         -        public string City
   949         -        {
   950         -            get
   951         -            {
   952         -                return this._City;
   953         -            }
   954         -            set
   955         -            {
   956         -                this.OnCityChanging(value);
   957         -                this.ReportPropertyChanging("City");
   958         -                this._City = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   959         -                this.ReportPropertyChanged("City");
   960         -                this.OnCityChanged();
   961         -            }
   962         -        }
   963         -        private string _City;
   964         -        partial void OnCityChanging(string value);
         1050  +    
         1051  +        /// <summary>
         1052  +        /// No Metadata Documentation available.
         1053  +        /// </summary>
         1054  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1055  +        [DataMemberAttribute()]
         1056  +        public global::System.String City
         1057  +        {
         1058  +            get
         1059  +            {
         1060  +                return _City;
         1061  +            }
         1062  +            set
         1063  +            {
         1064  +                OnCityChanging(value);
         1065  +                ReportPropertyChanging("City");
         1066  +                _City = StructuralObject.SetValidValue(value, true);
         1067  +                ReportPropertyChanged("City");
         1068  +                OnCityChanged();
         1069  +            }
         1070  +        }
         1071  +        private global::System.String _City;
         1072  +        partial void OnCityChanging(global::System.String value);
   965   1073           partial void OnCityChanged();
   966         -        /// <summary>
   967         -        /// There are no comments for Property Region in the schema.
   968         -        /// </summary>
   969         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   970         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   971         -        public string Region
   972         -        {
   973         -            get
   974         -            {
   975         -                return this._Region;
   976         -            }
   977         -            set
   978         -            {
   979         -                this.OnRegionChanging(value);
   980         -                this.ReportPropertyChanging("Region");
   981         -                this._Region = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
   982         -                this.ReportPropertyChanged("Region");
   983         -                this.OnRegionChanged();
   984         -            }
   985         -        }
   986         -        private string _Region;
   987         -        partial void OnRegionChanging(string value);
         1074  +    
         1075  +        /// <summary>
         1076  +        /// No Metadata Documentation available.
         1077  +        /// </summary>
         1078  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1079  +        [DataMemberAttribute()]
         1080  +        public global::System.String Region
         1081  +        {
         1082  +            get
         1083  +            {
         1084  +                return _Region;
         1085  +            }
         1086  +            set
         1087  +            {
         1088  +                OnRegionChanging(value);
         1089  +                ReportPropertyChanging("Region");
         1090  +                _Region = StructuralObject.SetValidValue(value, true);
         1091  +                ReportPropertyChanged("Region");
         1092  +                OnRegionChanged();
         1093  +            }
         1094  +        }
         1095  +        private global::System.String _Region;
         1096  +        partial void OnRegionChanging(global::System.String value);
   988   1097           partial void OnRegionChanged();
   989         -        /// <summary>
   990         -        /// There are no comments for Property PostalCode in the schema.
   991         -        /// </summary>
   992         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
   993         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
   994         -        public string PostalCode
   995         -        {
   996         -            get
   997         -            {
   998         -                return this._PostalCode;
   999         -            }
  1000         -            set
  1001         -            {
  1002         -                this.OnPostalCodeChanging(value);
  1003         -                this.ReportPropertyChanging("PostalCode");
  1004         -                this._PostalCode = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1005         -                this.ReportPropertyChanged("PostalCode");
  1006         -                this.OnPostalCodeChanged();
  1007         -            }
  1008         -        }
  1009         -        private string _PostalCode;
  1010         -        partial void OnPostalCodeChanging(string value);
         1098  +    
         1099  +        /// <summary>
         1100  +        /// No Metadata Documentation available.
         1101  +        /// </summary>
         1102  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1103  +        [DataMemberAttribute()]
         1104  +        public global::System.String PostalCode
         1105  +        {
         1106  +            get
         1107  +            {
         1108  +                return _PostalCode;
         1109  +            }
         1110  +            set
         1111  +            {
         1112  +                OnPostalCodeChanging(value);
         1113  +                ReportPropertyChanging("PostalCode");
         1114  +                _PostalCode = StructuralObject.SetValidValue(value, true);
         1115  +                ReportPropertyChanged("PostalCode");
         1116  +                OnPostalCodeChanged();
         1117  +            }
         1118  +        }
         1119  +        private global::System.String _PostalCode;
         1120  +        partial void OnPostalCodeChanging(global::System.String value);
  1011   1121           partial void OnPostalCodeChanged();
  1012         -        /// <summary>
  1013         -        /// There are no comments for Property Country in the schema.
  1014         -        /// </summary>
  1015         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1016         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1017         -        public string Country
  1018         -        {
  1019         -            get
  1020         -            {
  1021         -                return this._Country;
  1022         -            }
  1023         -            set
  1024         -            {
  1025         -                this.OnCountryChanging(value);
  1026         -                this.ReportPropertyChanging("Country");
  1027         -                this._Country = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1028         -                this.ReportPropertyChanged("Country");
  1029         -                this.OnCountryChanged();
  1030         -            }
  1031         -        }
  1032         -        private string _Country;
  1033         -        partial void OnCountryChanging(string value);
         1122  +    
         1123  +        /// <summary>
         1124  +        /// No Metadata Documentation available.
         1125  +        /// </summary>
         1126  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1127  +        [DataMemberAttribute()]
         1128  +        public global::System.String Country
         1129  +        {
         1130  +            get
         1131  +            {
         1132  +                return _Country;
         1133  +            }
         1134  +            set
         1135  +            {
         1136  +                OnCountryChanging(value);
         1137  +                ReportPropertyChanging("Country");
         1138  +                _Country = StructuralObject.SetValidValue(value, true);
         1139  +                ReportPropertyChanged("Country");
         1140  +                OnCountryChanged();
         1141  +            }
         1142  +        }
         1143  +        private global::System.String _Country;
         1144  +        partial void OnCountryChanging(global::System.String value);
  1034   1145           partial void OnCountryChanged();
  1035         -        /// <summary>
  1036         -        /// There are no comments for Property HomePhone in the schema.
  1037         -        /// </summary>
  1038         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1039         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1040         -        public string HomePhone
  1041         -        {
  1042         -            get
  1043         -            {
  1044         -                return this._HomePhone;
  1045         -            }
  1046         -            set
  1047         -            {
  1048         -                this.OnHomePhoneChanging(value);
  1049         -                this.ReportPropertyChanging("HomePhone");
  1050         -                this._HomePhone = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1051         -                this.ReportPropertyChanged("HomePhone");
  1052         -                this.OnHomePhoneChanged();
  1053         -            }
  1054         -        }
  1055         -        private string _HomePhone;
  1056         -        partial void OnHomePhoneChanging(string value);
         1146  +    
         1147  +        /// <summary>
         1148  +        /// No Metadata Documentation available.
         1149  +        /// </summary>
         1150  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1151  +        [DataMemberAttribute()]
         1152  +        public global::System.String HomePhone
         1153  +        {
         1154  +            get
         1155  +            {
         1156  +                return _HomePhone;
         1157  +            }
         1158  +            set
         1159  +            {
         1160  +                OnHomePhoneChanging(value);
         1161  +                ReportPropertyChanging("HomePhone");
         1162  +                _HomePhone = StructuralObject.SetValidValue(value, true);
         1163  +                ReportPropertyChanged("HomePhone");
         1164  +                OnHomePhoneChanged();
         1165  +            }
         1166  +        }
         1167  +        private global::System.String _HomePhone;
         1168  +        partial void OnHomePhoneChanging(global::System.String value);
  1057   1169           partial void OnHomePhoneChanged();
  1058         -        /// <summary>
  1059         -        /// There are no comments for Property Extension in the schema.
  1060         -        /// </summary>
  1061         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1062         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1063         -        public string Extension
  1064         -        {
  1065         -            get
  1066         -            {
  1067         -                return this._Extension;
  1068         -            }
  1069         -            set
  1070         -            {
  1071         -                this.OnExtensionChanging(value);
  1072         -                this.ReportPropertyChanging("Extension");
  1073         -                this._Extension = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1074         -                this.ReportPropertyChanged("Extension");
  1075         -                this.OnExtensionChanged();
  1076         -            }
  1077         -        }
  1078         -        private string _Extension;
  1079         -        partial void OnExtensionChanging(string value);
         1170  +    
         1171  +        /// <summary>
         1172  +        /// No Metadata Documentation available.
         1173  +        /// </summary>
         1174  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1175  +        [DataMemberAttribute()]
         1176  +        public global::System.String Extension
         1177  +        {
         1178  +            get
         1179  +            {
         1180  +                return _Extension;
         1181  +            }
         1182  +            set
         1183  +            {
         1184  +                OnExtensionChanging(value);
         1185  +                ReportPropertyChanging("Extension");
         1186  +                _Extension = StructuralObject.SetValidValue(value, true);
         1187  +                ReportPropertyChanged("Extension");
         1188  +                OnExtensionChanged();
         1189  +            }
         1190  +        }
         1191  +        private global::System.String _Extension;
         1192  +        partial void OnExtensionChanging(global::System.String value);
  1080   1193           partial void OnExtensionChanged();
  1081         -        /// <summary>
  1082         -        /// There are no comments for Property Photo in the schema.
  1083         -        /// </summary>
  1084         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1085         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1086         -        public byte[] Photo
  1087         -        {
  1088         -            get
  1089         -            {
  1090         -                return global::System.Data.Objects.DataClasses.StructuralObject.GetValidValue(this._Photo);
  1091         -            }
  1092         -            set
  1093         -            {
  1094         -                this.OnPhotoChanging(value);
  1095         -                this.ReportPropertyChanging("Photo");
  1096         -                this._Photo = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1097         -                this.ReportPropertyChanged("Photo");
  1098         -                this.OnPhotoChanged();
  1099         -            }
  1100         -        }
  1101         -        private byte[] _Photo;
  1102         -        partial void OnPhotoChanging(byte[] value);
         1194  +    
         1195  +        /// <summary>
         1196  +        /// No Metadata Documentation available.
         1197  +        /// </summary>
         1198  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1199  +        [DataMemberAttribute()]
         1200  +        public global::System.Byte[] Photo
         1201  +        {
         1202  +            get
         1203  +            {
         1204  +                return StructuralObject.GetValidValue(_Photo);
         1205  +            }
         1206  +            set
         1207  +            {
         1208  +                OnPhotoChanging(value);
         1209  +                ReportPropertyChanging("Photo");
         1210  +                _Photo = StructuralObject.SetValidValue(value, true);
         1211  +                ReportPropertyChanged("Photo");
         1212  +                OnPhotoChanged();
         1213  +            }
         1214  +        }
         1215  +        private global::System.Byte[] _Photo;
         1216  +        partial void OnPhotoChanging(global::System.Byte[] value);
  1103   1217           partial void OnPhotoChanged();
  1104         -        /// <summary>
  1105         -        /// There are no comments for Property Notes in the schema.
  1106         -        /// </summary>
  1107         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1108         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1109         -        public string Notes
  1110         -        {
  1111         -            get
  1112         -            {
  1113         -                return this._Notes;
  1114         -            }
  1115         -            set
  1116         -            {
  1117         -                this.OnNotesChanging(value);
  1118         -                this.ReportPropertyChanging("Notes");
  1119         -                this._Notes = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1120         -                this.ReportPropertyChanged("Notes");
  1121         -                this.OnNotesChanged();
  1122         -            }
  1123         -        }
  1124         -        private string _Notes;
  1125         -        partial void OnNotesChanging(string value);
         1218  +    
         1219  +        /// <summary>
         1220  +        /// No Metadata Documentation available.
         1221  +        /// </summary>
         1222  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1223  +        [DataMemberAttribute()]
         1224  +        public global::System.String Notes
         1225  +        {
         1226  +            get
         1227  +            {
         1228  +                return _Notes;
         1229  +            }
         1230  +            set
         1231  +            {
         1232  +                OnNotesChanging(value);
         1233  +                ReportPropertyChanging("Notes");
         1234  +                _Notes = StructuralObject.SetValidValue(value, true);
         1235  +                ReportPropertyChanged("Notes");
         1236  +                OnNotesChanged();
         1237  +            }
         1238  +        }
         1239  +        private global::System.String _Notes;
         1240  +        partial void OnNotesChanging(global::System.String value);
  1126   1241           partial void OnNotesChanged();
  1127         -        /// <summary>
  1128         -        /// There are no comments for Property PhotoPath in the schema.
  1129         -        /// </summary>
  1130         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1131         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1132         -        public string PhotoPath
  1133         -        {
  1134         -            get
  1135         -            {
  1136         -                return this._PhotoPath;
  1137         -            }
  1138         -            set
  1139         -            {
  1140         -                this.OnPhotoPathChanging(value);
  1141         -                this.ReportPropertyChanging("PhotoPath");
  1142         -                this._PhotoPath = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1143         -                this.ReportPropertyChanged("PhotoPath");
  1144         -                this.OnPhotoPathChanged();
  1145         -            }
  1146         -        }
  1147         -        private string _PhotoPath;
  1148         -        partial void OnPhotoPathChanging(string value);
         1242  +    
         1243  +        /// <summary>
         1244  +        /// No Metadata Documentation available.
         1245  +        /// </summary>
         1246  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1247  +        [DataMemberAttribute()]
         1248  +        public global::System.String PhotoPath
         1249  +        {
         1250  +            get
         1251  +            {
         1252  +                return _PhotoPath;
         1253  +            }
         1254  +            set
         1255  +            {
         1256  +                OnPhotoPathChanging(value);
         1257  +                ReportPropertyChanging("PhotoPath");
         1258  +                _PhotoPath = StructuralObject.SetValidValue(value, true);
         1259  +                ReportPropertyChanged("PhotoPath");
         1260  +                OnPhotoPathChanged();
         1261  +            }
         1262  +        }
         1263  +        private global::System.String _PhotoPath;
         1264  +        partial void OnPhotoPathChanging(global::System.String value);
  1149   1265           partial void OnPhotoPathChanged();
  1150         -        /// <summary>
  1151         -        /// There are no comments for Territories in the schema.
  1152         -        /// </summary>
  1153         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "EmployeesTerritories", "Territories")]
  1154         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  1155         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  1156         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1157         -        public global::System.Data.Objects.DataClasses.EntityCollection<Territories> Territories
  1158         -        {
  1159         -            get
  1160         -            {
  1161         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Territories>("northwindEFModel.EmployeesTerritories", "Territories");
  1162         -            }
  1163         -            set
  1164         -            {
  1165         -                if ((value != null))
  1166         -                {
  1167         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Territories>("northwindEFModel.EmployeesTerritories", "Territories", value);
  1168         -                }
  1169         -            }
  1170         -        }
         1266  +
         1267  +        #endregion
         1268  +    
         1269  +        #region Navigation Properties
         1270  +    
         1271  +        /// <summary>
         1272  +        /// No Metadata Documentation available.
         1273  +        /// </summary>
         1274  +        [XmlIgnoreAttribute()]
         1275  +        [SoapIgnoreAttribute()]
         1276  +        [DataMemberAttribute()]
         1277  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "EmployeesTerritories", "Territories")]
         1278  +        public EntityCollection<Territories> Territories
         1279  +        {
         1280  +            get
         1281  +            {
         1282  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Territories>("northwindEFModel.EmployeesTerritories", "Territories");
         1283  +            }
         1284  +            set
         1285  +            {
         1286  +                if ((value != null))
         1287  +                {
         1288  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection<Territories>("northwindEFModel.EmployeesTerritories", "Territories", value);
         1289  +                }
         1290  +            }
         1291  +        }
         1292  +
         1293  +        #endregion
  1171   1294       }
         1295  +    
  1172   1296       /// <summary>
  1173         -    /// There are no comments for northwindEFModel.InternationalOrders in the schema.
         1297  +    /// No Metadata Documentation available.
  1174   1298       /// </summary>
  1175         -    /// <KeyProperties>
  1176         -    /// OrderID
  1177         -    /// </KeyProperties>
  1178         -    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="InternationalOrders")]
  1179         -    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
  1180         -    [global::System.Serializable()]
  1181         -    public partial class InternationalOrders : global::System.Data.Objects.DataClasses.EntityObject
         1299  +    [EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="InternationalOrders")]
         1300  +    [Serializable()]
         1301  +    [DataContractAttribute(IsReference=true)]
         1302  +    public partial class InternationalOrders : EntityObject
  1182   1303       {
         1304  +        #region Factory Method
         1305  +    
  1183   1306           /// <summary>
  1184   1307           /// Create a new InternationalOrders object.
  1185   1308           /// </summary>
  1186         -        /// <param name="orderID">Initial value of OrderID.</param>
  1187         -        /// <param name="customsDescription">Initial value of CustomsDescription.</param>
  1188         -        /// <param name="exciseTax">Initial value of ExciseTax.</param>
  1189         -        public static InternationalOrders CreateInternationalOrders(long orderID, string customsDescription, decimal exciseTax)
         1309  +        /// <param name="orderID">Initial value of the OrderID property.</param>
         1310  +        /// <param name="customsDescription">Initial value of the CustomsDescription property.</param>
         1311  +        /// <param name="exciseTax">Initial value of the ExciseTax property.</param>
         1312  +        public static InternationalOrders CreateInternationalOrders(global::System.Int64 orderID, global::System.String customsDescription, global::System.Decimal exciseTax)
  1190   1313           {
  1191   1314               InternationalOrders internationalOrders = new InternationalOrders();
  1192   1315               internationalOrders.OrderID = orderID;
  1193   1316               internationalOrders.CustomsDescription = customsDescription;
  1194   1317               internationalOrders.ExciseTax = exciseTax;
  1195   1318               return internationalOrders;
  1196   1319           }
  1197         -        /// <summary>
  1198         -        /// There are no comments for Property OrderID in the schema.
  1199         -        /// </summary>
  1200         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
  1201         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1202         -        public long OrderID
  1203         -        {
  1204         -            get
  1205         -            {
  1206         -                return this._OrderID;
  1207         -            }
  1208         -            set
  1209         -            {
  1210         -                this.OnOrderIDChanging(value);
  1211         -                this.ReportPropertyChanging("OrderID");
  1212         -                this._OrderID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1213         -                this.ReportPropertyChanged("OrderID");
  1214         -                this.OnOrderIDChanged();
  1215         -            }
  1216         -        }
  1217         -        private long _OrderID;
  1218         -        partial void OnOrderIDChanging(long value);
         1320  +
         1321  +        #endregion
         1322  +        #region Primitive Properties
         1323  +    
         1324  +        /// <summary>
         1325  +        /// No Metadata Documentation available.
         1326  +        /// </summary>
         1327  +        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
         1328  +        [DataMemberAttribute()]
         1329  +        public global::System.Int64 OrderID
         1330  +        {
         1331  +            get
         1332  +            {
         1333  +                return _OrderID;
         1334  +            }
         1335  +            set
         1336  +            {
         1337  +                if (_OrderID != value)
         1338  +                {
         1339  +                    OnOrderIDChanging(value);
         1340  +                    ReportPropertyChanging("OrderID");
         1341  +                    _OrderID = StructuralObject.SetValidValue(value);
         1342  +                    ReportPropertyChanged("OrderID");
         1343  +                    OnOrderIDChanged();
         1344  +                }
         1345  +            }
         1346  +        }
         1347  +        private global::System.Int64 _OrderID;
         1348  +        partial void OnOrderIDChanging(global::System.Int64 value);
  1219   1349           partial void OnOrderIDChanged();
  1220         -        /// <summary>
  1221         -        /// There are no comments for Property CustomsDescription in the schema.
  1222         -        /// </summary>
  1223         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
  1224         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1225         -        public string CustomsDescription
  1226         -        {
  1227         -            get
  1228         -            {
  1229         -                return this._CustomsDescription;
  1230         -            }
  1231         -            set
  1232         -            {
  1233         -                this.OnCustomsDescriptionChanging(value);
  1234         -                this.ReportPropertyChanging("CustomsDescription");
  1235         -                this._CustomsDescription = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
  1236         -                this.ReportPropertyChanged("CustomsDescription");
  1237         -                this.OnCustomsDescriptionChanged();
  1238         -            }
  1239         -        }
  1240         -        private string _CustomsDescription;
  1241         -        partial void OnCustomsDescriptionChanging(string value);
  1242         -        partial void OnCustomsDescriptionChanged();
  1243         -        /// <summary>
  1244         -        /// There are no comments for Property ExciseTax in the schema.
  1245         -        /// </summary>
  1246         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
  1247         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1248         -        public decimal ExciseTax
  1249         -        {
  1250         -            get
  1251         -            {
  1252         -                return this._ExciseTax;
  1253         -            }
  1254         -            set
  1255         -            {
  1256         -                this.OnExciseTaxChanging(value);
  1257         -                this.ReportPropertyChanging("ExciseTax");
  1258         -                this._ExciseTax = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1259         -                this.ReportPropertyChanged("ExciseTax");
  1260         -                this.OnExciseTaxChanged();
  1261         -            }
  1262         -        }
  1263         -        private decimal _ExciseTax;
  1264         -        partial void OnExciseTaxChanging(decimal value);
         1350  +    
         1351  +        /// <summary>
         1352  +        /// No Metadata Documentation available.
         1353  +        /// </summary>
         1354  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
         1355  +        [DataMemberAttribute()]
         1356  +        public global::System.String CustomsDescription
         1357  +        {
         1358  +            get
         1359  +            {
         1360  +                return _CustomsDescription;
         1361  +            }
         1362  +            set
         1363  +            {
         1364  +                OnCustomsDescriptionChanging(value);
         1365  +                ReportPropertyChanging("CustomsDescription");
         1366  +                _CustomsDescription = StructuralObject.SetValidValue(value, false);
         1367  +                ReportPropertyChanged("CustomsDescription");
         1368  +                OnCustomsDescriptionChanged();
         1369  +            }
         1370  +        }
         1371  +        private global::System.String _CustomsDescription;
         1372  +        partial void OnCustomsDescriptionChanging(global::System.String value);
         1373  +        partial void OnCustomsDescriptionChanged();
         1374  +    
         1375  +        /// <summary>
         1376  +        /// No Metadata Documentation available.
         1377  +        /// </summary>
         1378  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
         1379  +        [DataMemberAttribute()]
         1380  +        public global::System.Decimal ExciseTax
         1381  +        {
         1382  +            get
         1383  +            {
         1384  +                return _ExciseTax;
         1385  +            }
         1386  +            set
         1387  +            {
         1388  +                OnExciseTaxChanging(value);
         1389  +                ReportPropertyChanging("ExciseTax");
         1390  +                _ExciseTax = StructuralObject.SetValidValue(value);
         1391  +                ReportPropertyChanged("ExciseTax");
         1392  +                OnExciseTaxChanged();
         1393  +            }
         1394  +        }
         1395  +        private global::System.Decimal _ExciseTax;
         1396  +        partial void OnExciseTaxChanging(global::System.Decimal value);
  1265   1397           partial void OnExciseTaxChanged();
         1398  +
         1399  +        #endregion
         1400  +    
         1401  +        #region Navigation Properties
         1402  +    
  1266   1403           /// <summary>
  1267         -        /// There are no comments for Orders in the schema.
         1404  +        /// No Metadata Documentation available.
  1268   1405           /// </summary>
  1269         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_InternationalOrders_OrderID_OrderID", "Orders")]
  1270         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  1271         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  1272         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
         1406  +        [XmlIgnoreAttribute()]
         1407  +        [SoapIgnoreAttribute()]
         1408  +        [DataMemberAttribute()]
         1409  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_InternationalOrders_OrderID_OrderID", "Orders")]
  1273   1410           public Orders Orders
  1274   1411           {
  1275   1412               get
  1276   1413               {
  1277         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Orders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "Orders").Value;
  1278         -            }
  1279         -            set
  1280         -            {
  1281         -                ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Orders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "Orders").Value = value;
  1282         -            }
  1283         -        }
  1284         -        /// <summary>
  1285         -        /// There are no comments for Orders in the schema.
  1286         -        /// </summary>
  1287         -        [global::System.ComponentModel.BrowsableAttribute(false)]
  1288         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1289         -        public global::System.Data.Objects.DataClasses.EntityReference<Orders> OrdersReference
  1290         -        {
  1291         -            get
  1292         -            {
  1293         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Orders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "Orders");
  1294         -            }
  1295         -            set
  1296         -            {
  1297         -                if ((value != null))
  1298         -                {
  1299         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Orders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "Orders", value);
  1300         -                }
  1301         -            }
  1302         -        }
         1414  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Orders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "Orders").Value;
         1415  +            }
         1416  +            set
         1417  +            {
         1418  +                ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Orders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "Orders").Value = value;
         1419  +            }
         1420  +        }
         1421  +        /// <summary>
         1422  +        /// No Metadata Documentation available.
         1423  +        /// </summary>
         1424  +        [BrowsableAttribute(false)]
         1425  +        [DataMemberAttribute()]
         1426  +        public EntityReference<Orders> OrdersReference
         1427  +        {
         1428  +            get
         1429  +            {
         1430  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Orders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "Orders");
         1431  +            }
         1432  +            set
         1433  +            {
         1434  +                if ((value != null))
         1435  +                {
         1436  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference<Orders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "Orders", value);
         1437  +                }
         1438  +            }
         1439  +        }
         1440  +
         1441  +        #endregion
  1303   1442       }
         1443  +    
  1304   1444       /// <summary>
  1305         -    /// There are no comments for northwindEFModel.OrderDetails in the schema.
         1445  +    /// No Metadata Documentation available.
  1306   1446       /// </summary>
  1307         -    /// <KeyProperties>
  1308         -    /// OrderID
  1309         -    /// ProductID
  1310         -    /// </KeyProperties>
  1311         -    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="OrderDetails")]
  1312         -    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
  1313         -    [global::System.Serializable()]
  1314         -    public partial class OrderDetails : global::System.Data.Objects.DataClasses.EntityObject
         1447  +    [EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="OrderDetails")]
         1448  +    [Serializable()]
         1449  +    [DataContractAttribute(IsReference=true)]
         1450  +    public partial class OrderDetails : EntityObject
  1315   1451       {
         1452  +        #region Factory Method
         1453  +    
  1316   1454           /// <summary>
  1317   1455           /// Create a new OrderDetails object.
  1318   1456           /// </summary>
  1319         -        /// <param name="orderID">Initial value of OrderID.</param>
  1320         -        /// <param name="productID">Initial value of ProductID.</param>
  1321         -        /// <param name="unitPrice">Initial value of UnitPrice.</param>
  1322         -        /// <param name="quantity">Initial value of Quantity.</param>
  1323         -        /// <param name="discount">Initial value of Discount.</param>
  1324         -        public static OrderDetails CreateOrderDetails(long orderID, long productID, decimal unitPrice, short quantity, float discount)
         1457  +        /// <param name="orderID">Initial value of the OrderID property.</param>
         1458  +        /// <param name="productID">Initial value of the ProductID property.</param>
         1459  +        /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
         1460  +        /// <param name="quantity">Initial value of the Quantity property.</param>
         1461  +        /// <param name="discount">Initial value of the Discount property.</param>
         1462  +        public static OrderDetails CreateOrderDetails(global::System.Int64 orderID, global::System.Int64 productID, global::System.Decimal unitPrice, global::System.Int16 quantity, global::System.Single discount)
  1325   1463           {
  1326   1464               OrderDetails orderDetails = new OrderDetails();
  1327   1465               orderDetails.OrderID = orderID;
  1328   1466               orderDetails.ProductID = productID;
  1329   1467               orderDetails.UnitPrice = unitPrice;
  1330   1468               orderDetails.Quantity = quantity;
  1331   1469               orderDetails.Discount = discount;
  1332   1470               return orderDetails;
  1333   1471           }
  1334         -        /// <summary>
  1335         -        /// There are no comments for Property OrderID in the schema.
  1336         -        /// </summary>
  1337         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
  1338         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1339         -        public long OrderID
  1340         -        {
  1341         -            get
  1342         -            {
  1343         -                return this._OrderID;
  1344         -            }
  1345         -            set
  1346         -            {
  1347         -                this.OnOrderIDChanging(value);
  1348         -                this.ReportPropertyChanging("OrderID");
  1349         -                this._OrderID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1350         -                this.ReportPropertyChanged("OrderID");
  1351         -                this.OnOrderIDChanged();
  1352         -            }
  1353         -        }
  1354         -        private long _OrderID;
  1355         -        partial void OnOrderIDChanging(long value);
         1472  +
         1473  +        #endregion
         1474  +        #region Primitive Properties
         1475  +    
         1476  +        /// <summary>
         1477  +        /// No Metadata Documentation available.
         1478  +        /// </summary>
         1479  +        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
         1480  +        [DataMemberAttribute()]
         1481  +        public global::System.Int64 OrderID
         1482  +        {
         1483  +            get
         1484  +            {
         1485  +                return _OrderID;
         1486  +            }
         1487  +            set
         1488  +            {
         1489  +                if (_OrderID != value)
         1490  +                {
         1491  +                    OnOrderIDChanging(value);
         1492  +                    ReportPropertyChanging("OrderID");
         1493  +                    _OrderID = StructuralObject.SetValidValue(value);
         1494  +                    ReportPropertyChanged("OrderID");
         1495  +                    OnOrderIDChanged();
         1496  +                }
         1497  +            }
         1498  +        }
         1499  +        private global::System.Int64 _OrderID;
         1500  +        partial void OnOrderIDChanging(global::System.Int64 value);
  1356   1501           partial void OnOrderIDChanged();
  1357         -        /// <summary>
  1358         -        /// There are no comments for Property ProductID in the schema.
  1359         -        /// </summary>
  1360         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
  1361         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1362         -        public long ProductID
  1363         -        {
  1364         -            get
  1365         -            {
  1366         -                return this._ProductID;
  1367         -            }
  1368         -            set
  1369         -            {
  1370         -                this.OnProductIDChanging(value);
  1371         -                this.ReportPropertyChanging("ProductID");
  1372         -                this._ProductID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1373         -                this.ReportPropertyChanged("ProductID");
  1374         -                this.OnProductIDChanged();
  1375         -            }
  1376         -        }
  1377         -        private long _ProductID;
  1378         -        partial void OnProductIDChanging(long value);
         1502  +    
         1503  +        /// <summary>
         1504  +        /// No Metadata Documentation available.
         1505  +        /// </summary>
         1506  +        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
         1507  +        [DataMemberAttribute()]
         1508  +        public global::System.Int64 ProductID
         1509  +        {
         1510  +            get
         1511  +            {
         1512  +                return _ProductID;
         1513  +            }
         1514  +            set
         1515  +            {
         1516  +                if (_ProductID != value)
         1517  +                {
         1518  +                    OnProductIDChanging(value);
         1519  +                    ReportPropertyChanging("ProductID");
         1520  +                    _ProductID = StructuralObject.SetValidValue(value);
         1521  +                    ReportPropertyChanged("ProductID");
         1522  +                    OnProductIDChanged();
         1523  +                }
         1524  +            }
         1525  +        }
         1526  +        private global::System.Int64 _ProductID;
         1527  +        partial void OnProductIDChanging(global::System.Int64 value);
  1379   1528           partial void OnProductIDChanged();
  1380         -        /// <summary>
  1381         -        /// There are no comments for Property UnitPrice in the schema.
  1382         -        /// </summary>
  1383         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
  1384         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1385         -        public decimal UnitPrice
  1386         -        {
  1387         -            get
  1388         -            {
  1389         -                return this._UnitPrice;
  1390         -            }
  1391         -            set
  1392         -            {
  1393         -                this.OnUnitPriceChanging(value);
  1394         -                this.ReportPropertyChanging("UnitPrice");
  1395         -                this._UnitPrice = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1396         -                this.ReportPropertyChanged("UnitPrice");
  1397         -                this.OnUnitPriceChanged();
  1398         -            }
  1399         -        }
  1400         -        private decimal _UnitPrice;
  1401         -        partial void OnUnitPriceChanging(decimal value);
         1529  +    
         1530  +        /// <summary>
         1531  +        /// No Metadata Documentation available.
         1532  +        /// </summary>
         1533  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
         1534  +        [DataMemberAttribute()]
         1535  +        public global::System.Decimal UnitPrice
         1536  +        {
         1537  +            get
         1538  +            {
         1539  +                return _UnitPrice;
         1540  +            }
         1541  +            set
         1542  +            {
         1543  +                OnUnitPriceChanging(value);
         1544  +                ReportPropertyChanging("UnitPrice");
         1545  +                _UnitPrice = StructuralObject.SetValidValue(value);
         1546  +                ReportPropertyChanged("UnitPrice");
         1547  +                OnUnitPriceChanged();
         1548  +            }
         1549  +        }
         1550  +        private global::System.Decimal _UnitPrice;
         1551  +        partial void OnUnitPriceChanging(global::System.Decimal value);
  1402   1552           partial void OnUnitPriceChanged();
  1403         -        /// <summary>
  1404         -        /// There are no comments for Property Quantity in the schema.
  1405         -        /// </summary>
  1406         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
  1407         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1408         -        public short Quantity
  1409         -        {
  1410         -            get
  1411         -            {
  1412         -                return this._Quantity;
  1413         -            }
  1414         -            set
  1415         -            {
  1416         -                this.OnQuantityChanging(value);
  1417         -                this.ReportPropertyChanging("Quantity");
  1418         -                this._Quantity = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1419         -                this.ReportPropertyChanged("Quantity");
  1420         -                this.OnQuantityChanged();
  1421         -            }
  1422         -        }
  1423         -        private short _Quantity;
  1424         -        partial void OnQuantityChanging(short value);
         1553  +    
         1554  +        /// <summary>
         1555  +        /// No Metadata Documentation available.
         1556  +        /// </summary>
         1557  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
         1558  +        [DataMemberAttribute()]
         1559  +        public global::System.Int16 Quantity
         1560  +        {
         1561  +            get
         1562  +            {
         1563  +                return _Quantity;
         1564  +            }
         1565  +            set
         1566  +            {
         1567  +                OnQuantityChanging(value);
         1568  +                ReportPropertyChanging("Quantity");
         1569  +                _Quantity = StructuralObject.SetValidValue(value);
         1570  +                ReportPropertyChanged("Quantity");
         1571  +                OnQuantityChanged();
         1572  +            }
         1573  +        }
         1574  +        private global::System.Int16 _Quantity;
         1575  +        partial void OnQuantityChanging(global::System.Int16 value);
  1425   1576           partial void OnQuantityChanged();
  1426         -        /// <summary>
  1427         -        /// There are no comments for Property Discount in the schema.
  1428         -        /// </summary>
  1429         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
  1430         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1431         -        public float Discount
  1432         -        {
  1433         -            get
  1434         -            {
  1435         -                return this._Discount;
  1436         -            }
  1437         -            set
  1438         -            {
  1439         -                this.OnDiscountChanging(value);
  1440         -                this.ReportPropertyChanging("Discount");
  1441         -                this._Discount = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1442         -                this.ReportPropertyChanged("Discount");
  1443         -                this.OnDiscountChanged();
  1444         -            }
  1445         -        }
  1446         -        private float _Discount;
  1447         -        partial void OnDiscountChanging(float value);
         1577  +    
         1578  +        /// <summary>
         1579  +        /// No Metadata Documentation available.
         1580  +        /// </summary>
         1581  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
         1582  +        [DataMemberAttribute()]
         1583  +        public global::System.Single Discount
         1584  +        {
         1585  +            get
         1586  +            {
         1587  +                return _Discount;
         1588  +            }
         1589  +            set
         1590  +            {
         1591  +                OnDiscountChanging(value);
         1592  +                ReportPropertyChanging("Discount");
         1593  +                _Discount = StructuralObject.SetValidValue(value);
         1594  +                ReportPropertyChanged("Discount");
         1595  +                OnDiscountChanged();
         1596  +            }
         1597  +        }
         1598  +        private global::System.Single _Discount;
         1599  +        partial void OnDiscountChanging(global::System.Single value);
  1448   1600           partial void OnDiscountChanged();
         1601  +
         1602  +        #endregion
         1603  +    
         1604  +        #region Navigation Properties
         1605  +    
  1449   1606           /// <summary>
  1450         -        /// There are no comments for Orders in the schema.
         1607  +        /// No Metadata Documentation available.
  1451   1608           /// </summary>
  1452         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_OrderDetails_OrderID_OrderID", "Orders")]
  1453         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  1454         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  1455         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
         1609  +        [XmlIgnoreAttribute()]
         1610  +        [SoapIgnoreAttribute()]
         1611  +        [DataMemberAttribute()]
         1612  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_OrderDetails_OrderID_OrderID", "Orders")]
  1456   1613           public Orders Orders
  1457   1614           {
  1458   1615               get
  1459   1616               {
  1460         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Orders>("northwindEFModel.FK_OrderDetails_OrderID_OrderID", "Orders").Value;
  1461         -            }
  1462         -            set
  1463         -            {
  1464         -                ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Orders>("northwindEFModel.FK_OrderDetails_OrderID_OrderID", "Orders").Value = value;
  1465         -            }
  1466         -        }
  1467         -        /// <summary>
  1468         -        /// There are no comments for Orders in the schema.
  1469         -        /// </summary>
  1470         -        [global::System.ComponentModel.BrowsableAttribute(false)]
  1471         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1472         -        public global::System.Data.Objects.DataClasses.EntityReference<Orders> OrdersReference
  1473         -        {
  1474         -            get
  1475         -            {
  1476         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Orders>("northwindEFModel.FK_OrderDetails_OrderID_OrderID", "Orders");
         1617  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Orders>("northwindEFModel.FK_OrderDetails_OrderID_OrderID", "Orders").Value;
         1618  +            }
         1619  +            set
         1620  +            {
         1621  +                ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Orders>("northwindEFModel.FK_OrderDetails_OrderID_OrderID", "Orders").Value = value;
         1622  +            }
         1623  +        }
         1624  +        /// <summary>
         1625  +        /// No Metadata Documentation available.
         1626  +        /// </summary>
         1627  +        [BrowsableAttribute(false)]
         1628  +        [DataMemberAttribute()]
         1629  +        public EntityReference<Orders> OrdersReference
         1630  +        {
         1631  +            get
         1632  +            {
         1633  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Orders>("northwindEFModel.FK_OrderDetails_OrderID_OrderID", "Orders");
         1634  +            }
         1635  +            set
         1636  +            {
         1637  +                if ((value != null))
         1638  +                {
         1639  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference<Orders>("northwindEFModel.FK_OrderDetails_OrderID_OrderID", "Orders", value);
         1640  +                }
         1641  +            }
         1642  +        }
         1643  +    
         1644  +        /// <summary>
         1645  +        /// No Metadata Documentation available.
         1646  +        /// </summary>
         1647  +        [XmlIgnoreAttribute()]
         1648  +        [SoapIgnoreAttribute()]
         1649  +        [DataMemberAttribute()]
         1650  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_OrderDetails_ProductID_ProductID", "Products")]
         1651  +        public Products Products
         1652  +        {
         1653  +            get
         1654  +            {
         1655  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Products>("northwindEFModel.FK_OrderDetails_ProductID_ProductID", "Products").Value;
         1656  +            }
         1657  +            set
         1658  +            {
         1659  +                ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Products>("northwindEFModel.FK_OrderDetails_ProductID_ProductID", "Products").Value = value;
         1660  +            }
         1661  +        }
         1662  +        /// <summary>
         1663  +        /// No Metadata Documentation available.
         1664  +        /// </summary>
         1665  +        [BrowsableAttribute(false)]
         1666  +        [DataMemberAttribute()]
         1667  +        public EntityReference<Products> ProductsReference
         1668  +        {
         1669  +            get
         1670  +            {
         1671  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Products>("northwindEFModel.FK_OrderDetails_ProductID_ProductID", "Products");
  1477   1672               }
  1478   1673               set
  1479   1674               {
  1480   1675                   if ((value != null))
  1481   1676                   {
  1482         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Orders>("northwindEFModel.FK_OrderDetails_OrderID_OrderID", "Orders", value);
         1677  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference<Products>("northwindEFModel.FK_OrderDetails_ProductID_ProductID", "Products", value);
  1483   1678                   }
  1484   1679               }
  1485   1680           }
  1486         -        /// <summary>
  1487         -        /// There are no comments for Products in the schema.
  1488         -        /// </summary>
  1489         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_OrderDetails_ProductID_ProductID", "Products")]
  1490         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  1491         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  1492         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1493         -        public Products Products
  1494         -        {
  1495         -            get
  1496         -            {
  1497         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Products>("northwindEFModel.FK_OrderDetails_ProductID_ProductID", "Products").Value;
  1498         -            }
  1499         -            set
  1500         -            {
  1501         -                ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Products>("northwindEFModel.FK_OrderDetails_ProductID_ProductID", "Products").Value = value;
  1502         -            }
  1503         -        }
  1504         -        /// <summary>
  1505         -        /// There are no comments for Products in the schema.
  1506         -        /// </summary>
  1507         -        [global::System.ComponentModel.BrowsableAttribute(false)]
  1508         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1509         -        public global::System.Data.Objects.DataClasses.EntityReference<Products> ProductsReference
  1510         -        {
  1511         -            get
  1512         -            {
  1513         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Products>("northwindEFModel.FK_OrderDetails_ProductID_ProductID", "Products");
  1514         -            }
  1515         -            set
  1516         -            {
  1517         -                if ((value != null))
  1518         -                {
  1519         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Products>("northwindEFModel.FK_OrderDetails_ProductID_ProductID", "Products", value);
  1520         -                }
  1521         -            }
  1522         -        }
         1681  +
         1682  +        #endregion
  1523   1683       }
         1684  +    
  1524   1685       /// <summary>
  1525         -    /// There are no comments for northwindEFModel.Orders in the schema.
         1686  +    /// No Metadata Documentation available.
  1526   1687       /// </summary>
  1527         -    /// <KeyProperties>
  1528         -    /// OrderID
  1529         -    /// </KeyProperties>
  1530         -    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Orders")]
  1531         -    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
  1532         -    [global::System.Serializable()]
  1533         -    public partial class Orders : global::System.Data.Objects.DataClasses.EntityObject
         1688  +    [EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Orders")]
         1689  +    [Serializable()]
         1690  +    [DataContractAttribute(IsReference=true)]
         1691  +    public partial class Orders : EntityObject
  1534   1692       {
         1693  +        #region Factory Method
         1694  +    
  1535   1695           /// <summary>
  1536   1696           /// Create a new Orders object.
  1537   1697           /// </summary>
  1538         -        /// <param name="orderID">Initial value of OrderID.</param>
  1539         -        public static Orders CreateOrders(long orderID)
         1698  +        /// <param name="orderID">Initial value of the OrderID property.</param>
         1699  +        public static Orders CreateOrders(global::System.Int64 orderID)
  1540   1700           {
  1541   1701               Orders orders = new Orders();
  1542   1702               orders.OrderID = orderID;
  1543   1703               return orders;
  1544   1704           }
  1545         -        /// <summary>
  1546         -        /// There are no comments for Property OrderID in the schema.
  1547         -        /// </summary>
  1548         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
  1549         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1550         -        public long OrderID
  1551         -        {
  1552         -            get
  1553         -            {
  1554         -                return this._OrderID;
  1555         -            }
  1556         -            set
  1557         -            {
  1558         -                this.OnOrderIDChanging(value);
  1559         -                this.ReportPropertyChanging("OrderID");
  1560         -                this._OrderID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1561         -                this.ReportPropertyChanged("OrderID");
  1562         -                this.OnOrderIDChanged();
  1563         -            }
  1564         -        }
  1565         -        private long _OrderID;
  1566         -        partial void OnOrderIDChanging(long value);
         1705  +
         1706  +        #endregion
         1707  +        #region Primitive Properties
         1708  +    
         1709  +        /// <summary>
         1710  +        /// No Metadata Documentation available.
         1711  +        /// </summary>
         1712  +        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
         1713  +        [DataMemberAttribute()]
         1714  +        public global::System.Int64 OrderID
         1715  +        {
         1716  +            get
         1717  +            {
         1718  +                return _OrderID;
         1719  +            }
         1720  +            set
         1721  +            {
         1722  +                if (_OrderID != value)
         1723  +                {
         1724  +                    OnOrderIDChanging(value);
         1725  +                    ReportPropertyChanging("OrderID");
         1726  +                    _OrderID = StructuralObject.SetValidValue(value);
         1727  +                    ReportPropertyChanged("OrderID");
         1728  +                    OnOrderIDChanged();
         1729  +                }
         1730  +            }
         1731  +        }
         1732  +        private global::System.Int64 _OrderID;
         1733  +        partial void OnOrderIDChanging(global::System.Int64 value);
  1567   1734           partial void OnOrderIDChanged();
  1568         -        /// <summary>
  1569         -        /// There are no comments for Property EmployeeID in the schema.
  1570         -        /// </summary>
  1571         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1572         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1573         -        public global::System.Nullable<long> EmployeeID
  1574         -        {
  1575         -            get
  1576         -            {
  1577         -                return this._EmployeeID;
  1578         -            }
  1579         -            set
  1580         -            {
  1581         -                this.OnEmployeeIDChanging(value);
  1582         -                this.ReportPropertyChanging("EmployeeID");
  1583         -                this._EmployeeID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1584         -                this.ReportPropertyChanged("EmployeeID");
  1585         -                this.OnEmployeeIDChanged();
  1586         -            }
  1587         -        }
  1588         -        private global::System.Nullable<long> _EmployeeID;
  1589         -        partial void OnEmployeeIDChanging(global::System.Nullable<long> value);
         1735  +    
         1736  +        /// <summary>
         1737  +        /// No Metadata Documentation available.
         1738  +        /// </summary>
         1739  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1740  +        [DataMemberAttribute()]
         1741  +        public Nullable<global::System.Int64> EmployeeID
         1742  +        {
         1743  +            get
         1744  +            {
         1745  +                return _EmployeeID;
         1746  +            }
         1747  +            set
         1748  +            {
         1749  +                OnEmployeeIDChanging(value);
         1750  +                ReportPropertyChanging("EmployeeID");
         1751  +                _EmployeeID = StructuralObject.SetValidValue(value);
         1752  +                ReportPropertyChanged("EmployeeID");
         1753  +                OnEmployeeIDChanged();
         1754  +            }
         1755  +        }
         1756  +        private Nullable<global::System.Int64> _EmployeeID;
         1757  +        partial void OnEmployeeIDChanging(Nullable<global::System.Int64> value);
  1590   1758           partial void OnEmployeeIDChanged();
  1591         -        /// <summary>
  1592         -        /// There are no comments for Property OrderDate in the schema.
  1593         -        /// </summary>
  1594         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1595         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1596         -        public global::System.Nullable<global::System.DateTime> OrderDate
  1597         -        {
  1598         -            get
  1599         -            {
  1600         -                return this._OrderDate;
  1601         -            }
  1602         -            set
  1603         -            {
  1604         -                this.OnOrderDateChanging(value);
  1605         -                this.ReportPropertyChanging("OrderDate");
  1606         -                this._OrderDate = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1607         -                this.ReportPropertyChanged("OrderDate");
  1608         -                this.OnOrderDateChanged();
  1609         -            }
  1610         -        }
  1611         -        private global::System.Nullable<global::System.DateTime> _OrderDate;
  1612         -        partial void OnOrderDateChanging(global::System.Nullable<global::System.DateTime> value);
         1759  +    
         1760  +        /// <summary>
         1761  +        /// No Metadata Documentation available.
         1762  +        /// </summary>
         1763  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1764  +        [DataMemberAttribute()]
         1765  +        public Nullable<global::System.DateTime> OrderDate
         1766  +        {
         1767  +            get
         1768  +            {
         1769  +                return _OrderDate;
         1770  +            }
         1771  +            set
         1772  +            {
         1773  +                OnOrderDateChanging(value);
         1774  +                ReportPropertyChanging("OrderDate");
         1775  +                _OrderDate = StructuralObject.SetValidValue(value);
         1776  +                ReportPropertyChanged("OrderDate");
         1777  +                OnOrderDateChanged();
         1778  +            }
         1779  +        }
         1780  +        private Nullable<global::System.DateTime> _OrderDate;
         1781  +        partial void OnOrderDateChanging(Nullable<global::System.DateTime> value);
  1613   1782           partial void OnOrderDateChanged();
  1614         -        /// <summary>
  1615         -        /// There are no comments for Property RequiredDate in the schema.
  1616         -        /// </summary>
  1617         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1618         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1619         -        public global::System.Nullable<global::System.DateTime> RequiredDate
  1620         -        {
  1621         -            get
  1622         -            {
  1623         -                return this._RequiredDate;
  1624         -            }
  1625         -            set
  1626         -            {
  1627         -                this.OnRequiredDateChanging(value);
  1628         -                this.ReportPropertyChanging("RequiredDate");
  1629         -                this._RequiredDate = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1630         -                this.ReportPropertyChanged("RequiredDate");
  1631         -                this.OnRequiredDateChanged();
  1632         -            }
  1633         -        }
  1634         -        private global::System.Nullable<global::System.DateTime> _RequiredDate;
  1635         -        partial void OnRequiredDateChanging(global::System.Nullable<global::System.DateTime> value);
         1783  +    
         1784  +        /// <summary>
         1785  +        /// No Metadata Documentation available.
         1786  +        /// </summary>
         1787  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1788  +        [DataMemberAttribute()]
         1789  +        public Nullable<global::System.DateTime> RequiredDate
         1790  +        {
         1791  +            get
         1792  +            {
         1793  +                return _RequiredDate;
         1794  +            }
         1795  +            set
         1796  +            {
         1797  +                OnRequiredDateChanging(value);
         1798  +                ReportPropertyChanging("RequiredDate");
         1799  +                _RequiredDate = StructuralObject.SetValidValue(value);
         1800  +                ReportPropertyChanged("RequiredDate");
         1801  +                OnRequiredDateChanged();
         1802  +            }
         1803  +        }
         1804  +        private Nullable<global::System.DateTime> _RequiredDate;
         1805  +        partial void OnRequiredDateChanging(Nullable<global::System.DateTime> value);
  1636   1806           partial void OnRequiredDateChanged();
  1637         -        /// <summary>
  1638         -        /// There are no comments for Property ShippedDate in the schema.
  1639         -        /// </summary>
  1640         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1641         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1642         -        public global::System.Nullable<global::System.DateTime> ShippedDate
  1643         -        {
  1644         -            get
  1645         -            {
  1646         -                return this._ShippedDate;
  1647         -            }
  1648         -            set
  1649         -            {
  1650         -                this.OnShippedDateChanging(value);
  1651         -                this.ReportPropertyChanging("ShippedDate");
  1652         -                this._ShippedDate = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1653         -                this.ReportPropertyChanged("ShippedDate");
  1654         -                this.OnShippedDateChanged();
  1655         -            }
  1656         -        }
  1657         -        private global::System.Nullable<global::System.DateTime> _ShippedDate;
  1658         -        partial void OnShippedDateChanging(global::System.Nullable<global::System.DateTime> value);
         1807  +    
         1808  +        /// <summary>
         1809  +        /// No Metadata Documentation available.
         1810  +        /// </summary>
         1811  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1812  +        [DataMemberAttribute()]
         1813  +        public Nullable<global::System.DateTime> ShippedDate
         1814  +        {
         1815  +            get
         1816  +            {
         1817  +                return _ShippedDate;
         1818  +            }
         1819  +            set
         1820  +            {
         1821  +                OnShippedDateChanging(value);
         1822  +                ReportPropertyChanging("ShippedDate");
         1823  +                _ShippedDate = StructuralObject.SetValidValue(value);
         1824  +                ReportPropertyChanged("ShippedDate");
         1825  +                OnShippedDateChanged();
         1826  +            }
         1827  +        }
         1828  +        private Nullable<global::System.DateTime> _ShippedDate;
         1829  +        partial void OnShippedDateChanging(Nullable<global::System.DateTime> value);
  1659   1830           partial void OnShippedDateChanged();
  1660         -        /// <summary>
  1661         -        /// There are no comments for Property Freight in the schema.
  1662         -        /// </summary>
  1663         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1664         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1665         -        public global::System.Nullable<decimal> Freight
  1666         -        {
  1667         -            get
  1668         -            {
  1669         -                return this._Freight;
  1670         -            }
  1671         -            set
  1672         -            {
  1673         -                this.OnFreightChanging(value);
  1674         -                this.ReportPropertyChanging("Freight");
  1675         -                this._Freight = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1676         -                this.ReportPropertyChanged("Freight");
  1677         -                this.OnFreightChanged();
  1678         -            }
  1679         -        }
  1680         -        private global::System.Nullable<decimal> _Freight;
  1681         -        partial void OnFreightChanging(global::System.Nullable<decimal> value);
         1831  +    
         1832  +        /// <summary>
         1833  +        /// No Metadata Documentation available.
         1834  +        /// </summary>
         1835  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1836  +        [DataMemberAttribute()]
         1837  +        public Nullable<global::System.Decimal> Freight
         1838  +        {
         1839  +            get
         1840  +            {
         1841  +                return _Freight;
         1842  +            }
         1843  +            set
         1844  +            {
         1845  +                OnFreightChanging(value);
         1846  +                ReportPropertyChanging("Freight");
         1847  +                _Freight = StructuralObject.SetValidValue(value);
         1848  +                ReportPropertyChanged("Freight");
         1849  +                OnFreightChanged();
         1850  +            }
         1851  +        }
         1852  +        private Nullable<global::System.Decimal> _Freight;
         1853  +        partial void OnFreightChanging(Nullable<global::System.Decimal> value);
  1682   1854           partial void OnFreightChanged();
  1683         -        /// <summary>
  1684         -        /// There are no comments for Property ShipName in the schema.
  1685         -        /// </summary>
  1686         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1687         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1688         -        public string ShipName
  1689         -        {
  1690         -            get
  1691         -            {
  1692         -                return this._ShipName;
  1693         -            }
  1694         -            set
  1695         -            {
  1696         -                this.OnShipNameChanging(value);
  1697         -                this.ReportPropertyChanging("ShipName");
  1698         -                this._ShipName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1699         -                this.ReportPropertyChanged("ShipName");
  1700         -                this.OnShipNameChanged();
  1701         -            }
  1702         -        }
  1703         -        private string _ShipName;
  1704         -        partial void OnShipNameChanging(string value);
         1855  +    
         1856  +        /// <summary>
         1857  +        /// No Metadata Documentation available.
         1858  +        /// </summary>
         1859  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1860  +        [DataMemberAttribute()]
         1861  +        public global::System.String ShipName
         1862  +        {
         1863  +            get
         1864  +            {
         1865  +                return _ShipName;
         1866  +            }
         1867  +            set
         1868  +            {
         1869  +                OnShipNameChanging(value);
         1870  +                ReportPropertyChanging("ShipName");
         1871  +                _ShipName = StructuralObject.SetValidValue(value, true);
         1872  +                ReportPropertyChanged("ShipName");
         1873  +                OnShipNameChanged();
         1874  +            }
         1875  +        }
         1876  +        private global::System.String _ShipName;
         1877  +        partial void OnShipNameChanging(global::System.String value);
  1705   1878           partial void OnShipNameChanged();
  1706         -        /// <summary>
  1707         -        /// There are no comments for Property ShipAddress in the schema.
  1708         -        /// </summary>
  1709         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1710         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1711         -        public string ShipAddress
  1712         -        {
  1713         -            get
  1714         -            {
  1715         -                return this._ShipAddress;
  1716         -            }
  1717         -            set
  1718         -            {
  1719         -                this.OnShipAddressChanging(value);
  1720         -                this.ReportPropertyChanging("ShipAddress");
  1721         -                this._ShipAddress = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1722         -                this.ReportPropertyChanged("ShipAddress");
  1723         -                this.OnShipAddressChanged();
  1724         -            }
  1725         -        }
  1726         -        private string _ShipAddress;
  1727         -        partial void OnShipAddressChanging(string value);
         1879  +    
         1880  +        /// <summary>
         1881  +        /// No Metadata Documentation available.
         1882  +        /// </summary>
         1883  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1884  +        [DataMemberAttribute()]
         1885  +        public global::System.String ShipAddress
         1886  +        {
         1887  +            get
         1888  +            {
         1889  +                return _ShipAddress;
         1890  +            }
         1891  +            set
         1892  +            {
         1893  +                OnShipAddressChanging(value);
         1894  +                ReportPropertyChanging("ShipAddress");
         1895  +                _ShipAddress = StructuralObject.SetValidValue(value, true);
         1896  +                ReportPropertyChanged("ShipAddress");
         1897  +                OnShipAddressChanged();
         1898  +            }
         1899  +        }
         1900  +        private global::System.String _ShipAddress;
         1901  +        partial void OnShipAddressChanging(global::System.String value);
  1728   1902           partial void OnShipAddressChanged();
  1729         -        /// <summary>
  1730         -        /// There are no comments for Property ShipCity in the schema.
  1731         -        /// </summary>
  1732         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1733         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1734         -        public string ShipCity
  1735         -        {
  1736         -            get
  1737         -            {
  1738         -                return this._ShipCity;
  1739         -            }
  1740         -            set
  1741         -            {
  1742         -                this.OnShipCityChanging(value);
  1743         -                this.ReportPropertyChanging("ShipCity");
  1744         -                this._ShipCity = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1745         -                this.ReportPropertyChanged("ShipCity");
  1746         -                this.OnShipCityChanged();
  1747         -            }
  1748         -        }
  1749         -        private string _ShipCity;
  1750         -        partial void OnShipCityChanging(string value);
         1903  +    
         1904  +        /// <summary>
         1905  +        /// No Metadata Documentation available.
         1906  +        /// </summary>
         1907  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1908  +        [DataMemberAttribute()]
         1909  +        public global::System.String ShipCity
         1910  +        {
         1911  +            get
         1912  +            {
         1913  +                return _ShipCity;
         1914  +            }
         1915  +            set
         1916  +            {
         1917  +                OnShipCityChanging(value);
         1918  +                ReportPropertyChanging("ShipCity");
         1919  +                _ShipCity = StructuralObject.SetValidValue(value, true);
         1920  +                ReportPropertyChanged("ShipCity");
         1921  +                OnShipCityChanged();
         1922  +            }
         1923  +        }
         1924  +        private global::System.String _ShipCity;
         1925  +        partial void OnShipCityChanging(global::System.String value);
  1751   1926           partial void OnShipCityChanged();
  1752         -        /// <summary>
  1753         -        /// There are no comments for Property ShipRegion in the schema.
  1754         -        /// </summary>
  1755         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1756         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1757         -        public string ShipRegion
  1758         -        {
  1759         -            get
  1760         -            {
  1761         -                return this._ShipRegion;
  1762         -            }
  1763         -            set
  1764         -            {
  1765         -                this.OnShipRegionChanging(value);
  1766         -                this.ReportPropertyChanging("ShipRegion");
  1767         -                this._ShipRegion = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1768         -                this.ReportPropertyChanged("ShipRegion");
  1769         -                this.OnShipRegionChanged();
  1770         -            }
  1771         -        }
  1772         -        private string _ShipRegion;
  1773         -        partial void OnShipRegionChanging(string value);
         1927  +    
         1928  +        /// <summary>
         1929  +        /// No Metadata Documentation available.
         1930  +        /// </summary>
         1931  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1932  +        [DataMemberAttribute()]
         1933  +        public global::System.String ShipRegion
         1934  +        {
         1935  +            get
         1936  +            {
         1937  +                return _ShipRegion;
         1938  +            }
         1939  +            set
         1940  +            {
         1941  +                OnShipRegionChanging(value);
         1942  +                ReportPropertyChanging("ShipRegion");
         1943  +                _ShipRegion = StructuralObject.SetValidValue(value, true);
         1944  +                ReportPropertyChanged("ShipRegion");
         1945  +                OnShipRegionChanged();
         1946  +            }
         1947  +        }
         1948  +        private global::System.String _ShipRegion;
         1949  +        partial void OnShipRegionChanging(global::System.String value);
  1774   1950           partial void OnShipRegionChanged();
  1775         -        /// <summary>
  1776         -        /// There are no comments for Property ShipPostalCode in the schema.
  1777         -        /// </summary>
  1778         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1779         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1780         -        public string ShipPostalCode
  1781         -        {
  1782         -            get
  1783         -            {
  1784         -                return this._ShipPostalCode;
  1785         -            }
  1786         -            set
  1787         -            {
  1788         -                this.OnShipPostalCodeChanging(value);
  1789         -                this.ReportPropertyChanging("ShipPostalCode");
  1790         -                this._ShipPostalCode = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1791         -                this.ReportPropertyChanged("ShipPostalCode");
  1792         -                this.OnShipPostalCodeChanged();
  1793         -            }
  1794         -        }
  1795         -        private string _ShipPostalCode;
  1796         -        partial void OnShipPostalCodeChanging(string value);
         1951  +    
         1952  +        /// <summary>
         1953  +        /// No Metadata Documentation available.
         1954  +        /// </summary>
         1955  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1956  +        [DataMemberAttribute()]
         1957  +        public global::System.String ShipPostalCode
         1958  +        {
         1959  +            get
         1960  +            {
         1961  +                return _ShipPostalCode;
         1962  +            }
         1963  +            set
         1964  +            {
         1965  +                OnShipPostalCodeChanging(value);
         1966  +                ReportPropertyChanging("ShipPostalCode");
         1967  +                _ShipPostalCode = StructuralObject.SetValidValue(value, true);
         1968  +                ReportPropertyChanged("ShipPostalCode");
         1969  +                OnShipPostalCodeChanged();
         1970  +            }
         1971  +        }
         1972  +        private global::System.String _ShipPostalCode;
         1973  +        partial void OnShipPostalCodeChanging(global::System.String value);
  1797   1974           partial void OnShipPostalCodeChanged();
  1798         -        /// <summary>
  1799         -        /// There are no comments for Property ShipCountry in the schema.
  1800         -        /// </summary>
  1801         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  1802         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1803         -        public string ShipCountry
  1804         -        {
  1805         -            get
  1806         -            {
  1807         -                return this._ShipCountry;
  1808         -            }
  1809         -            set
  1810         -            {
  1811         -                this.OnShipCountryChanging(value);
  1812         -                this.ReportPropertyChanging("ShipCountry");
  1813         -                this._ShipCountry = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  1814         -                this.ReportPropertyChanged("ShipCountry");
  1815         -                this.OnShipCountryChanged();
  1816         -            }
  1817         -        }
  1818         -        private string _ShipCountry;
  1819         -        partial void OnShipCountryChanging(string value);
         1975  +    
         1976  +        /// <summary>
         1977  +        /// No Metadata Documentation available.
         1978  +        /// </summary>
         1979  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         1980  +        [DataMemberAttribute()]
         1981  +        public global::System.String ShipCountry
         1982  +        {
         1983  +            get
         1984  +            {
         1985  +                return _ShipCountry;
         1986  +            }
         1987  +            set
         1988  +            {
         1989  +                OnShipCountryChanging(value);
         1990  +                ReportPropertyChanging("ShipCountry");
         1991  +                _ShipCountry = StructuralObject.SetValidValue(value, true);
         1992  +                ReportPropertyChanged("ShipCountry");
         1993  +                OnShipCountryChanged();
         1994  +            }
         1995  +        }
         1996  +        private global::System.String _ShipCountry;
         1997  +        partial void OnShipCountryChanging(global::System.String value);
  1820   1998           partial void OnShipCountryChanged();
         1999  +
         2000  +        #endregion
         2001  +    
         2002  +        #region Navigation Properties
         2003  +    
  1821   2004           /// <summary>
  1822         -        /// There are no comments for Customers in the schema.
         2005  +        /// No Metadata Documentation available.
  1823   2006           /// </summary>
  1824         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Orders_CustomerID_CustomerID", "Customers")]
  1825         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  1826         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  1827         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
         2007  +        [XmlIgnoreAttribute()]
         2008  +        [SoapIgnoreAttribute()]
         2009  +        [DataMemberAttribute()]
         2010  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Orders_CustomerID_CustomerID", "Customers")]
  1828   2011           public Customers Customers
  1829   2012           {
  1830   2013               get
  1831   2014               {
  1832         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Customers>("northwindEFModel.FK_Orders_CustomerID_CustomerID", "Customers").Value;
  1833         -            }
  1834         -            set
  1835         -            {
  1836         -                ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Customers>("northwindEFModel.FK_Orders_CustomerID_CustomerID", "Customers").Value = value;
  1837         -            }
  1838         -        }
  1839         -        /// <summary>
  1840         -        /// There are no comments for Customers in the schema.
  1841         -        /// </summary>
  1842         -        [global::System.ComponentModel.BrowsableAttribute(false)]
  1843         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1844         -        public global::System.Data.Objects.DataClasses.EntityReference<Customers> CustomersReference
  1845         -        {
  1846         -            get
  1847         -            {
  1848         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Customers>("northwindEFModel.FK_Orders_CustomerID_CustomerID", "Customers");
         2015  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Customers>("northwindEFModel.FK_Orders_CustomerID_CustomerID", "Customers").Value;
         2016  +            }
         2017  +            set
         2018  +            {
         2019  +                ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Customers>("northwindEFModel.FK_Orders_CustomerID_CustomerID", "Customers").Value = value;
         2020  +            }
         2021  +        }
         2022  +        /// <summary>
         2023  +        /// No Metadata Documentation available.
         2024  +        /// </summary>
         2025  +        [BrowsableAttribute(false)]
         2026  +        [DataMemberAttribute()]
         2027  +        public EntityReference<Customers> CustomersReference
         2028  +        {
         2029  +            get
         2030  +            {
         2031  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Customers>("northwindEFModel.FK_Orders_CustomerID_CustomerID", "Customers");
         2032  +            }
         2033  +            set
         2034  +            {
         2035  +                if ((value != null))
         2036  +                {
         2037  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference<Customers>("northwindEFModel.FK_Orders_CustomerID_CustomerID", "Customers", value);
         2038  +                }
         2039  +            }
         2040  +        }
         2041  +    
         2042  +        /// <summary>
         2043  +        /// No Metadata Documentation available.
         2044  +        /// </summary>
         2045  +        [XmlIgnoreAttribute()]
         2046  +        [SoapIgnoreAttribute()]
         2047  +        [DataMemberAttribute()]
         2048  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_InternationalOrders_OrderID_OrderID", "InternationalOrders")]
         2049  +        public InternationalOrders InternationalOrders
         2050  +        {
         2051  +            get
         2052  +            {
         2053  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<InternationalOrders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "InternationalOrders").Value;
         2054  +            }
         2055  +            set
         2056  +            {
         2057  +                ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<InternationalOrders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "InternationalOrders").Value = value;
         2058  +            }
         2059  +        }
         2060  +        /// <summary>
         2061  +        /// No Metadata Documentation available.
         2062  +        /// </summary>
         2063  +        [BrowsableAttribute(false)]
         2064  +        [DataMemberAttribute()]
         2065  +        public EntityReference<InternationalOrders> InternationalOrdersReference
         2066  +        {
         2067  +            get
         2068  +            {
         2069  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<InternationalOrders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "InternationalOrders");
         2070  +            }
         2071  +            set
         2072  +            {
         2073  +                if ((value != null))
         2074  +                {
         2075  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference<InternationalOrders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "InternationalOrders", value);
         2076  +                }
         2077  +            }
         2078  +        }
         2079  +    
         2080  +        /// <summary>
         2081  +        /// No Metadata Documentation available.
         2082  +        /// </summary>
         2083  +        [XmlIgnoreAttribute()]
         2084  +        [SoapIgnoreAttribute()]
         2085  +        [DataMemberAttribute()]
         2086  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_OrderDetails_OrderID_OrderID", "OrderDetails")]
         2087  +        public EntityCollection<OrderDetails> OrderDetails
         2088  +        {
         2089  +            get
         2090  +            {
         2091  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<OrderDetails>("northwindEFModel.FK_OrderDetails_OrderID_OrderID", "OrderDetails");
  1849   2092               }
  1850   2093               set
  1851   2094               {
  1852   2095                   if ((value != null))
  1853   2096                   {
  1854         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Customers>("northwindEFModel.FK_Orders_CustomerID_CustomerID", "Customers", value);
         2097  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection<OrderDetails>("northwindEFModel.FK_OrderDetails_OrderID_OrderID", "OrderDetails", value);
  1855   2098                   }
  1856   2099               }
  1857   2100           }
  1858         -        /// <summary>
  1859         -        /// There are no comments for InternationalOrders in the schema.
  1860         -        /// </summary>
  1861         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_InternationalOrders_OrderID_OrderID", "InternationalOrders")]
  1862         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  1863         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  1864         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1865         -        public InternationalOrders InternationalOrders
  1866         -        {
  1867         -            get
  1868         -            {
  1869         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<InternationalOrders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "InternationalOrders").Value;
  1870         -            }
  1871         -            set
  1872         -            {
  1873         -                ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<InternationalOrders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "InternationalOrders").Value = value;
  1874         -            }
  1875         -        }
  1876         -        /// <summary>
  1877         -        /// There are no comments for InternationalOrders in the schema.
  1878         -        /// </summary>
  1879         -        [global::System.ComponentModel.BrowsableAttribute(false)]
  1880         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1881         -        public global::System.Data.Objects.DataClasses.EntityReference<InternationalOrders> InternationalOrdersReference
  1882         -        {
  1883         -            get
  1884         -            {
  1885         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<InternationalOrders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "InternationalOrders");
  1886         -            }
  1887         -            set
  1888         -            {
  1889         -                if ((value != null))
  1890         -                {
  1891         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<InternationalOrders>("northwindEFModel.FK_InternationalOrders_OrderID_OrderID", "InternationalOrders", value);
  1892         -                }
  1893         -            }
  1894         -        }
  1895         -        /// <summary>
  1896         -        /// There are no comments for OrderDetails in the schema.
  1897         -        /// </summary>
  1898         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_OrderDetails_OrderID_OrderID", "OrderDetails")]
  1899         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  1900         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  1901         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1902         -        public global::System.Data.Objects.DataClasses.EntityCollection<OrderDetails> OrderDetails
  1903         -        {
  1904         -            get
  1905         -            {
  1906         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<OrderDetails>("northwindEFModel.FK_OrderDetails_OrderID_OrderID", "OrderDetails");
  1907         -            }
  1908         -            set
  1909         -            {
  1910         -                if ((value != null))
  1911         -                {
  1912         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<OrderDetails>("northwindEFModel.FK_OrderDetails_OrderID_OrderID", "OrderDetails", value);
  1913         -                }
  1914         -            }
  1915         -        }
         2101  +
         2102  +        #endregion
  1916   2103       }
         2104  +    
  1917   2105       /// <summary>
  1918         -    /// There are no comments for northwindEFModel.PreviousEmployees in the schema.
         2106  +    /// No Metadata Documentation available.
  1919   2107       /// </summary>
  1920         -    /// <KeyProperties>
  1921         -    /// EmployeeID
  1922         -    /// </KeyProperties>
  1923         -    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="PreviousEmployees")]
  1924         -    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
  1925         -    [global::System.Serializable()]
  1926         -    public partial class PreviousEmployees : global::System.Data.Objects.DataClasses.EntityObject
         2108  +    [EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="PreviousEmployees")]
         2109  +    [Serializable()]
         2110  +    [DataContractAttribute(IsReference=true)]
         2111  +    public partial class PreviousEmployees : EntityObject
  1927   2112       {
         2113  +        #region Factory Method
         2114  +    
  1928   2115           /// <summary>
  1929   2116           /// Create a new PreviousEmployees object.
  1930   2117           /// </summary>
  1931         -        /// <param name="employeeID">Initial value of EmployeeID.</param>
  1932         -        /// <param name="lastName">Initial value of LastName.</param>
  1933         -        /// <param name="firstName">Initial value of FirstName.</param>
  1934         -        public static PreviousEmployees CreatePreviousEmployees(long employeeID, string lastName, string firstName)
         2118  +        /// <param name="employeeID">Initial value of the EmployeeID property.</param>
         2119  +        /// <param name="lastName">Initial value of the LastName property.</param>
         2120  +        /// <param name="firstName">Initial value of the FirstName property.</param>
         2121  +        public static PreviousEmployees CreatePreviousEmployees(global::System.Int64 employeeID, global::System.String lastName, global::System.String firstName)
  1935   2122           {
  1936   2123               PreviousEmployees previousEmployees = new PreviousEmployees();
  1937   2124               previousEmployees.EmployeeID = employeeID;
  1938   2125               previousEmployees.LastName = lastName;
  1939   2126               previousEmployees.FirstName = firstName;
  1940   2127               return previousEmployees;
  1941   2128           }
  1942         -        /// <summary>
  1943         -        /// There are no comments for Property EmployeeID in the schema.
  1944         -        /// </summary>
  1945         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
  1946         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1947         -        public long EmployeeID
  1948         -        {
  1949         -            get
  1950         -            {
  1951         -                return this._EmployeeID;
  1952         -            }
  1953         -            set
  1954         -            {
  1955         -                this.OnEmployeeIDChanging(value);
  1956         -                this.ReportPropertyChanging("EmployeeID");
  1957         -                this._EmployeeID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  1958         -                this.ReportPropertyChanged("EmployeeID");
  1959         -                this.OnEmployeeIDChanged();
  1960         -            }
  1961         -        }
  1962         -        private long _EmployeeID;
  1963         -        partial void OnEmployeeIDChanging(long value);
         2129  +
         2130  +        #endregion
         2131  +        #region Primitive Properties
         2132  +    
         2133  +        /// <summary>
         2134  +        /// No Metadata Documentation available.
         2135  +        /// </summary>
         2136  +        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
         2137  +        [DataMemberAttribute()]
         2138  +        public global::System.Int64 EmployeeID
         2139  +        {
         2140  +            get
         2141  +            {
         2142  +                return _EmployeeID;
         2143  +            }
         2144  +            set
         2145  +            {
         2146  +                if (_EmployeeID != value)
         2147  +                {
         2148  +                    OnEmployeeIDChanging(value);
         2149  +                    ReportPropertyChanging("EmployeeID");
         2150  +                    _EmployeeID = StructuralObject.SetValidValue(value);
         2151  +                    ReportPropertyChanged("EmployeeID");
         2152  +                    OnEmployeeIDChanged();
         2153  +                }
         2154  +            }
         2155  +        }
         2156  +        private global::System.Int64 _EmployeeID;
         2157  +        partial void OnEmployeeIDChanging(global::System.Int64 value);
  1964   2158           partial void OnEmployeeIDChanged();
  1965         -        /// <summary>
  1966         -        /// There are no comments for Property LastName in the schema.
  1967         -        /// </summary>
  1968         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
  1969         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1970         -        public string LastName
  1971         -        {
  1972         -            get
  1973         -            {
  1974         -                return this._LastName;
  1975         -            }
  1976         -            set
  1977         -            {
  1978         -                this.OnLastNameChanging(value);
  1979         -                this.ReportPropertyChanging("LastName");
  1980         -                this._LastName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
  1981         -                this.ReportPropertyChanged("LastName");
  1982         -                this.OnLastNameChanged();
  1983         -            }
  1984         -        }
  1985         -        private string _LastName;
  1986         -        partial void OnLastNameChanging(string value);
         2159  +    
         2160  +        /// <summary>
         2161  +        /// No Metadata Documentation available.
         2162  +        /// </summary>
         2163  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
         2164  +        [DataMemberAttribute()]
         2165  +        public global::System.String LastName
         2166  +        {
         2167  +            get
         2168  +            {
         2169  +                return _LastName;
         2170  +            }
         2171  +            set
         2172  +            {
         2173  +                OnLastNameChanging(value);
         2174  +                ReportPropertyChanging("LastName");
         2175  +                _LastName = StructuralObject.SetValidValue(value, false);
         2176  +                ReportPropertyChanged("LastName");
         2177  +                OnLastNameChanged();
         2178  +            }
         2179  +        }
         2180  +        private global::System.String _LastName;
         2181  +        partial void OnLastNameChanging(global::System.String value);
  1987   2182           partial void OnLastNameChanged();
  1988         -        /// <summary>
  1989         -        /// There are no comments for Property FirstName in the schema.
  1990         -        /// </summary>
  1991         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
  1992         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  1993         -        public string FirstName
  1994         -        {
  1995         -            get
  1996         -            {
  1997         -                return this._FirstName;
  1998         -            }
  1999         -            set
  2000         -            {
  2001         -                this.OnFirstNameChanging(value);
  2002         -                this.ReportPropertyChanging("FirstName");
  2003         -                this._FirstName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
  2004         -                this.ReportPropertyChanged("FirstName");
  2005         -                this.OnFirstNameChanged();
  2006         -            }
  2007         -        }
  2008         -        private string _FirstName;
  2009         -        partial void OnFirstNameChanging(string value);
         2183  +    
         2184  +        /// <summary>
         2185  +        /// No Metadata Documentation available.
         2186  +        /// </summary>
         2187  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
         2188  +        [DataMemberAttribute()]
         2189  +        public global::System.String FirstName
         2190  +        {
         2191  +            get
         2192  +            {
         2193  +                return _FirstName;
         2194  +            }
         2195  +            set
         2196  +            {
         2197  +                OnFirstNameChanging(value);
         2198  +                ReportPropertyChanging("FirstName");
         2199  +                _FirstName = StructuralObject.SetValidValue(value, false);
         2200  +                ReportPropertyChanged("FirstName");
         2201  +                OnFirstNameChanged();
         2202  +            }
         2203  +        }
         2204  +        private global::System.String _FirstName;
         2205  +        partial void OnFirstNameChanging(global::System.String value);
  2010   2206           partial void OnFirstNameChanged();
  2011         -        /// <summary>
  2012         -        /// There are no comments for Property Title in the schema.
  2013         -        /// </summary>
  2014         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2015         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2016         -        public string Title
  2017         -        {
  2018         -            get
  2019         -            {
  2020         -                return this._Title;
  2021         -            }
  2022         -            set
  2023         -            {
  2024         -                this.OnTitleChanging(value);
  2025         -                this.ReportPropertyChanging("Title");
  2026         -                this._Title = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2027         -                this.ReportPropertyChanged("Title");
  2028         -                this.OnTitleChanged();
  2029         -            }
  2030         -        }
  2031         -        private string _Title;
  2032         -        partial void OnTitleChanging(string value);
         2207  +    
         2208  +        /// <summary>
         2209  +        /// No Metadata Documentation available.
         2210  +        /// </summary>
         2211  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2212  +        [DataMemberAttribute()]
         2213  +        public global::System.String Title
         2214  +        {
         2215  +            get
         2216  +            {
         2217  +                return _Title;
         2218  +            }
         2219  +            set
         2220  +            {
         2221  +                OnTitleChanging(value);
         2222  +                ReportPropertyChanging("Title");
         2223  +                _Title = StructuralObject.SetValidValue(value, true);
         2224  +                ReportPropertyChanged("Title");
         2225  +                OnTitleChanged();
         2226  +            }
         2227  +        }
         2228  +        private global::System.String _Title;
         2229  +        partial void OnTitleChanging(global::System.String value);
  2033   2230           partial void OnTitleChanged();
  2034         -        /// <summary>
  2035         -        /// There are no comments for Property TitleOfCourtesy in the schema.
  2036         -        /// </summary>
  2037         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2038         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2039         -        public string TitleOfCourtesy
  2040         -        {
  2041         -            get
  2042         -            {
  2043         -                return this._TitleOfCourtesy;
  2044         -            }
  2045         -            set
  2046         -            {
  2047         -                this.OnTitleOfCourtesyChanging(value);
  2048         -                this.ReportPropertyChanging("TitleOfCourtesy");
  2049         -                this._TitleOfCourtesy = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2050         -                this.ReportPropertyChanged("TitleOfCourtesy");
  2051         -                this.OnTitleOfCourtesyChanged();
  2052         -            }
  2053         -        }
  2054         -        private string _TitleOfCourtesy;
  2055         -        partial void OnTitleOfCourtesyChanging(string value);
         2231  +    
         2232  +        /// <summary>
         2233  +        /// No Metadata Documentation available.
         2234  +        /// </summary>
         2235  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2236  +        [DataMemberAttribute()]
         2237  +        public global::System.String TitleOfCourtesy
         2238  +        {
         2239  +            get
         2240  +            {
         2241  +                return _TitleOfCourtesy;
         2242  +            }
         2243  +            set
         2244  +            {
         2245  +                OnTitleOfCourtesyChanging(value);
         2246  +                ReportPropertyChanging("TitleOfCourtesy");
         2247  +                _TitleOfCourtesy = StructuralObject.SetValidValue(value, true);
         2248  +                ReportPropertyChanged("TitleOfCourtesy");
         2249  +                OnTitleOfCourtesyChanged();
         2250  +            }
         2251  +        }
         2252  +        private global::System.String _TitleOfCourtesy;
         2253  +        partial void OnTitleOfCourtesyChanging(global::System.String value);
  2056   2254           partial void OnTitleOfCourtesyChanged();
  2057         -        /// <summary>
  2058         -        /// There are no comments for Property BirthDate in the schema.
  2059         -        /// </summary>
  2060         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2061         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2062         -        public global::System.Nullable<global::System.DateTime> BirthDate
  2063         -        {
  2064         -            get
  2065         -            {
  2066         -                return this._BirthDate;
  2067         -            }
  2068         -            set
  2069         -            {
  2070         -                this.OnBirthDateChanging(value);
  2071         -                this.ReportPropertyChanging("BirthDate");
  2072         -                this._BirthDate = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  2073         -                this.ReportPropertyChanged("BirthDate");
  2074         -                this.OnBirthDateChanged();
  2075         -            }
  2076         -        }
  2077         -        private global::System.Nullable<global::System.DateTime> _BirthDate;
  2078         -        partial void OnBirthDateChanging(global::System.Nullable<global::System.DateTime> value);
         2255  +    
         2256  +        /// <summary>
         2257  +        /// No Metadata Documentation available.
         2258  +        /// </summary>
         2259  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2260  +        [DataMemberAttribute()]
         2261  +        public Nullable<global::System.DateTime> BirthDate
         2262  +        {
         2263  +            get
         2264  +            {
         2265  +                return _BirthDate;
         2266  +            }
         2267  +            set
         2268  +            {
         2269  +                OnBirthDateChanging(value);
         2270  +                ReportPropertyChanging("BirthDate");
         2271  +                _BirthDate = StructuralObject.SetValidValue(value);
         2272  +                ReportPropertyChanged("BirthDate");
         2273  +                OnBirthDateChanged();
         2274  +            }
         2275  +        }
         2276  +        private Nullable<global::System.DateTime> _BirthDate;
         2277  +        partial void OnBirthDateChanging(Nullable<global::System.DateTime> value);
  2079   2278           partial void OnBirthDateChanged();
  2080         -        /// <summary>
  2081         -        /// There are no comments for Property HireDate in the schema.
  2082         -        /// </summary>
  2083         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2084         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2085         -        public global::System.Nullable<global::System.DateTime> HireDate
  2086         -        {
  2087         -            get
  2088         -            {
  2089         -                return this._HireDate;
  2090         -            }
  2091         -            set
  2092         -            {
  2093         -                this.OnHireDateChanging(value);
  2094         -                this.ReportPropertyChanging("HireDate");
  2095         -                this._HireDate = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  2096         -                this.ReportPropertyChanged("HireDate");
  2097         -                this.OnHireDateChanged();
  2098         -            }
  2099         -        }
  2100         -        private global::System.Nullable<global::System.DateTime> _HireDate;
  2101         -        partial void OnHireDateChanging(global::System.Nullable<global::System.DateTime> value);
         2279  +    
         2280  +        /// <summary>
         2281  +        /// No Metadata Documentation available.
         2282  +        /// </summary>
         2283  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2284  +        [DataMemberAttribute()]
         2285  +        public Nullable<global::System.DateTime> HireDate
         2286  +        {
         2287  +            get
         2288  +            {
         2289  +                return _HireDate;
         2290  +            }
         2291  +            set
         2292  +            {
         2293  +                OnHireDateChanging(value);
         2294  +                ReportPropertyChanging("HireDate");
         2295  +                _HireDate = StructuralObject.SetValidValue(value);
         2296  +                ReportPropertyChanged("HireDate");
         2297  +                OnHireDateChanged();
         2298  +            }
         2299  +        }
         2300  +        private Nullable<global::System.DateTime> _HireDate;
         2301  +        partial void OnHireDateChanging(Nullable<global::System.DateTime> value);
  2102   2302           partial void OnHireDateChanged();
  2103         -        /// <summary>
  2104         -        /// There are no comments for Property Address in the schema.
  2105         -        /// </summary>
  2106         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2107         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2108         -        public string Address
  2109         -        {
  2110         -            get
  2111         -            {
  2112         -                return this._Address;
  2113         -            }
  2114         -            set
  2115         -            {
  2116         -                this.OnAddressChanging(value);
  2117         -                this.ReportPropertyChanging("Address");
  2118         -                this._Address = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2119         -                this.ReportPropertyChanged("Address");
  2120         -                this.OnAddressChanged();
  2121         -            }
  2122         -        }
  2123         -        private string _Address;
  2124         -        partial void OnAddressChanging(string value);
         2303  +    
         2304  +        /// <summary>
         2305  +        /// No Metadata Documentation available.
         2306  +        /// </summary>
         2307  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2308  +        [DataMemberAttribute()]
         2309  +        public global::System.String Address
         2310  +        {
         2311  +            get
         2312  +            {
         2313  +                return _Address;
         2314  +            }
         2315  +            set
         2316  +            {
         2317  +                OnAddressChanging(value);
         2318  +                ReportPropertyChanging("Address");
         2319  +                _Address = StructuralObject.SetValidValue(value, true);
         2320  +                ReportPropertyChanged("Address");
         2321  +                OnAddressChanged();
         2322  +            }
         2323  +        }
         2324  +        private global::System.String _Address;
         2325  +        partial void OnAddressChanging(global::System.String value);
  2125   2326           partial void OnAddressChanged();
  2126         -        /// <summary>
  2127         -        /// There are no comments for Property City in the schema.
  2128         -        /// </summary>
  2129         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2130         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2131         -        public string City
  2132         -        {
  2133         -            get
  2134         -            {
  2135         -                return this._City;
  2136         -            }
  2137         -            set
  2138         -            {
  2139         -                this.OnCityChanging(value);
  2140         -                this.ReportPropertyChanging("City");
  2141         -                this._City = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2142         -                this.ReportPropertyChanged("City");
  2143         -                this.OnCityChanged();
  2144         -            }
  2145         -        }
  2146         -        private string _City;
  2147         -        partial void OnCityChanging(string value);
         2327  +    
         2328  +        /// <summary>
         2329  +        /// No Metadata Documentation available.
         2330  +        /// </summary>
         2331  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2332  +        [DataMemberAttribute()]
         2333  +        public global::System.String City
         2334  +        {
         2335  +            get
         2336  +            {
         2337  +                return _City;
         2338  +            }
         2339  +            set
         2340  +            {
         2341  +                OnCityChanging(value);
         2342  +                ReportPropertyChanging("City");
         2343  +                _City = StructuralObject.SetValidValue(value, true);
         2344  +                ReportPropertyChanged("City");
         2345  +                OnCityChanged();
         2346  +            }
         2347  +        }
         2348  +        private global::System.String _City;
         2349  +        partial void OnCityChanging(global::System.String value);
  2148   2350           partial void OnCityChanged();
  2149         -        /// <summary>
  2150         -        /// There are no comments for Property Region in the schema.
  2151         -        /// </summary>
  2152         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2153         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2154         -        public string Region
  2155         -        {
  2156         -            get
  2157         -            {
  2158         -                return this._Region;
  2159         -            }
  2160         -            set
  2161         -            {
  2162         -                this.OnRegionChanging(value);
  2163         -                this.ReportPropertyChanging("Region");
  2164         -                this._Region = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2165         -                this.ReportPropertyChanged("Region");
  2166         -                this.OnRegionChanged();
  2167         -            }
  2168         -        }
  2169         -        private string _Region;
  2170         -        partial void OnRegionChanging(string value);
         2351  +    
         2352  +        /// <summary>
         2353  +        /// No Metadata Documentation available.
         2354  +        /// </summary>
         2355  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2356  +        [DataMemberAttribute()]
         2357  +        public global::System.String Region
         2358  +        {
         2359  +            get
         2360  +            {
         2361  +                return _Region;
         2362  +            }
         2363  +            set
         2364  +            {
         2365  +                OnRegionChanging(value);
         2366  +                ReportPropertyChanging("Region");
         2367  +                _Region = StructuralObject.SetValidValue(value, true);
         2368  +                ReportPropertyChanged("Region");
         2369  +                OnRegionChanged();
         2370  +            }
         2371  +        }
         2372  +        private global::System.String _Region;
         2373  +        partial void OnRegionChanging(global::System.String value);
  2171   2374           partial void OnRegionChanged();
  2172         -        /// <summary>
  2173         -        /// There are no comments for Property PostalCode in the schema.
  2174         -        /// </summary>
  2175         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2176         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2177         -        public string PostalCode
  2178         -        {
  2179         -            get
  2180         -            {
  2181         -                return this._PostalCode;
  2182         -            }
  2183         -            set
  2184         -            {
  2185         -                this.OnPostalCodeChanging(value);
  2186         -                this.ReportPropertyChanging("PostalCode");
  2187         -                this._PostalCode = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2188         -                this.ReportPropertyChanged("PostalCode");
  2189         -                this.OnPostalCodeChanged();
  2190         -            }
  2191         -        }
  2192         -        private string _PostalCode;
  2193         -        partial void OnPostalCodeChanging(string value);
         2375  +    
         2376  +        /// <summary>
         2377  +        /// No Metadata Documentation available.
         2378  +        /// </summary>
         2379  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2380  +        [DataMemberAttribute()]
         2381  +        public global::System.String PostalCode
         2382  +        {
         2383  +            get
         2384  +            {
         2385  +                return _PostalCode;
         2386  +            }
         2387  +            set
         2388  +            {
         2389  +                OnPostalCodeChanging(value);
         2390  +                ReportPropertyChanging("PostalCode");
         2391  +                _PostalCode = StructuralObject.SetValidValue(value, true);
         2392  +                ReportPropertyChanged("PostalCode");
         2393  +                OnPostalCodeChanged();
         2394  +            }
         2395  +        }
         2396  +        private global::System.String _PostalCode;
         2397  +        partial void OnPostalCodeChanging(global::System.String value);
  2194   2398           partial void OnPostalCodeChanged();
  2195         -        /// <summary>
  2196         -        /// There are no comments for Property Country in the schema.
  2197         -        /// </summary>
  2198         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2199         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2200         -        public string Country
  2201         -        {
  2202         -            get
  2203         -            {
  2204         -                return this._Country;
  2205         -            }
  2206         -            set
  2207         -            {
  2208         -                this.OnCountryChanging(value);
  2209         -                this.ReportPropertyChanging("Country");
  2210         -                this._Country = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2211         -                this.ReportPropertyChanged("Country");
  2212         -                this.OnCountryChanged();
  2213         -            }
  2214         -        }
  2215         -        private string _Country;
  2216         -        partial void OnCountryChanging(string value);
         2399  +    
         2400  +        /// <summary>
         2401  +        /// No Metadata Documentation available.
         2402  +        /// </summary>
         2403  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2404  +        [DataMemberAttribute()]
         2405  +        public global::System.String Country
         2406  +        {
         2407  +            get
         2408  +            {
         2409  +                return _Country;
         2410  +            }
         2411  +            set
         2412  +            {
         2413  +                OnCountryChanging(value);
         2414  +                ReportPropertyChanging("Country");
         2415  +                _Country = StructuralObject.SetValidValue(value, true);
         2416  +                ReportPropertyChanged("Country");
         2417  +                OnCountryChanged();
         2418  +            }
         2419  +        }
         2420  +        private global::System.String _Country;
         2421  +        partial void OnCountryChanging(global::System.String value);
  2217   2422           partial void OnCountryChanged();
  2218         -        /// <summary>
  2219         -        /// There are no comments for Property HomePhone in the schema.
  2220         -        /// </summary>
  2221         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2222         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2223         -        public string HomePhone
  2224         -        {
  2225         -            get
  2226         -            {
  2227         -                return this._HomePhone;
  2228         -            }
  2229         -            set
  2230         -            {
  2231         -                this.OnHomePhoneChanging(value);
  2232         -                this.ReportPropertyChanging("HomePhone");
  2233         -                this._HomePhone = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2234         -                this.ReportPropertyChanged("HomePhone");
  2235         -                this.OnHomePhoneChanged();
  2236         -            }
  2237         -        }
  2238         -        private string _HomePhone;
  2239         -        partial void OnHomePhoneChanging(string value);
         2423  +    
         2424  +        /// <summary>
         2425  +        /// No Metadata Documentation available.
         2426  +        /// </summary>
         2427  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2428  +        [DataMemberAttribute()]
         2429  +        public global::System.String HomePhone
         2430  +        {
         2431  +            get
         2432  +            {
         2433  +                return _HomePhone;
         2434  +            }
         2435  +            set
         2436  +            {
         2437  +                OnHomePhoneChanging(value);
         2438  +                ReportPropertyChanging("HomePhone");
         2439  +                _HomePhone = StructuralObject.SetValidValue(value, true);
         2440  +                ReportPropertyChanged("HomePhone");
         2441  +                OnHomePhoneChanged();
         2442  +            }
         2443  +        }
         2444  +        private global::System.String _HomePhone;
         2445  +        partial void OnHomePhoneChanging(global::System.String value);
  2240   2446           partial void OnHomePhoneChanged();
  2241         -        /// <summary>
  2242         -        /// There are no comments for Property Extension in the schema.
  2243         -        /// </summary>
  2244         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2245         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2246         -        public string Extension
  2247         -        {
  2248         -            get
  2249         -            {
  2250         -                return this._Extension;
  2251         -            }
  2252         -            set
  2253         -            {
  2254         -                this.OnExtensionChanging(value);
  2255         -                this.ReportPropertyChanging("Extension");
  2256         -                this._Extension = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2257         -                this.ReportPropertyChanged("Extension");
  2258         -                this.OnExtensionChanged();
  2259         -            }
  2260         -        }
  2261         -        private string _Extension;
  2262         -        partial void OnExtensionChanging(string value);
         2447  +    
         2448  +        /// <summary>
         2449  +        /// No Metadata Documentation available.
         2450  +        /// </summary>
         2451  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2452  +        [DataMemberAttribute()]
         2453  +        public global::System.String Extension
         2454  +        {
         2455  +            get
         2456  +            {
         2457  +                return _Extension;
         2458  +            }
         2459  +            set
         2460  +            {
         2461  +                OnExtensionChanging(value);
         2462  +                ReportPropertyChanging("Extension");
         2463  +                _Extension = StructuralObject.SetValidValue(value, true);
         2464  +                ReportPropertyChanged("Extension");
         2465  +                OnExtensionChanged();
         2466  +            }
         2467  +        }
         2468  +        private global::System.String _Extension;
         2469  +        partial void OnExtensionChanging(global::System.String value);
  2263   2470           partial void OnExtensionChanged();
  2264         -        /// <summary>
  2265         -        /// There are no comments for Property Photo in the schema.
  2266         -        /// </summary>
  2267         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2268         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2269         -        public byte[] Photo
  2270         -        {
  2271         -            get
  2272         -            {
  2273         -                return global::System.Data.Objects.DataClasses.StructuralObject.GetValidValue(this._Photo);
  2274         -            }
  2275         -            set
  2276         -            {
  2277         -                this.OnPhotoChanging(value);
  2278         -                this.ReportPropertyChanging("Photo");
  2279         -                this._Photo = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2280         -                this.ReportPropertyChanged("Photo");
  2281         -                this.OnPhotoChanged();
  2282         -            }
  2283         -        }
  2284         -        private byte[] _Photo;
  2285         -        partial void OnPhotoChanging(byte[] value);
         2471  +    
         2472  +        /// <summary>
         2473  +        /// No Metadata Documentation available.
         2474  +        /// </summary>
         2475  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2476  +        [DataMemberAttribute()]
         2477  +        public global::System.Byte[] Photo
         2478  +        {
         2479  +            get
         2480  +            {
         2481  +                return StructuralObject.GetValidValue(_Photo);
         2482  +            }
         2483  +            set
         2484  +            {
         2485  +                OnPhotoChanging(value);
         2486  +                ReportPropertyChanging("Photo");
         2487  +                _Photo = StructuralObject.SetValidValue(value, true);
         2488  +                ReportPropertyChanged("Photo");
         2489  +                OnPhotoChanged();
         2490  +            }
         2491  +        }
         2492  +        private global::System.Byte[] _Photo;
         2493  +        partial void OnPhotoChanging(global::System.Byte[] value);
  2286   2494           partial void OnPhotoChanged();
  2287         -        /// <summary>
  2288         -        /// There are no comments for Property Notes in the schema.
  2289         -        /// </summary>
  2290         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2291         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2292         -        public string Notes
  2293         -        {
  2294         -            get
  2295         -            {
  2296         -                return this._Notes;
  2297         -            }
  2298         -            set
  2299         -            {
  2300         -                this.OnNotesChanging(value);
  2301         -                this.ReportPropertyChanging("Notes");
  2302         -                this._Notes = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2303         -                this.ReportPropertyChanged("Notes");
  2304         -                this.OnNotesChanged();
  2305         -            }
  2306         -        }
  2307         -        private string _Notes;
  2308         -        partial void OnNotesChanging(string value);
         2495  +    
         2496  +        /// <summary>
         2497  +        /// No Metadata Documentation available.
         2498  +        /// </summary>
         2499  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2500  +        [DataMemberAttribute()]
         2501  +        public global::System.String Notes
         2502  +        {
         2503  +            get
         2504  +            {
         2505  +                return _Notes;
         2506  +            }
         2507  +            set
         2508  +            {
         2509  +                OnNotesChanging(value);
         2510  +                ReportPropertyChanging("Notes");
         2511  +                _Notes = StructuralObject.SetValidValue(value, true);
         2512  +                ReportPropertyChanged("Notes");
         2513  +                OnNotesChanged();
         2514  +            }
         2515  +        }
         2516  +        private global::System.String _Notes;
         2517  +        partial void OnNotesChanging(global::System.String value);
  2309   2518           partial void OnNotesChanged();
  2310         -        /// <summary>
  2311         -        /// There are no comments for Property PhotoPath in the schema.
  2312         -        /// </summary>
  2313         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2314         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2315         -        public string PhotoPath
  2316         -        {
  2317         -            get
  2318         -            {
  2319         -                return this._PhotoPath;
  2320         -            }
  2321         -            set
  2322         -            {
  2323         -                this.OnPhotoPathChanging(value);
  2324         -                this.ReportPropertyChanging("PhotoPath");
  2325         -                this._PhotoPath = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2326         -                this.ReportPropertyChanged("PhotoPath");
  2327         -                this.OnPhotoPathChanged();
  2328         -            }
  2329         -        }
  2330         -        private string _PhotoPath;
  2331         -        partial void OnPhotoPathChanging(string value);
         2519  +    
         2520  +        /// <summary>
         2521  +        /// No Metadata Documentation available.
         2522  +        /// </summary>
         2523  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2524  +        [DataMemberAttribute()]
         2525  +        public global::System.String PhotoPath
         2526  +        {
         2527  +            get
         2528  +            {
         2529  +                return _PhotoPath;
         2530  +            }
         2531  +            set
         2532  +            {
         2533  +                OnPhotoPathChanging(value);
         2534  +                ReportPropertyChanging("PhotoPath");
         2535  +                _PhotoPath = StructuralObject.SetValidValue(value, true);
         2536  +                ReportPropertyChanged("PhotoPath");
         2537  +                OnPhotoPathChanged();
         2538  +            }
         2539  +        }
         2540  +        private global::System.String _PhotoPath;
         2541  +        partial void OnPhotoPathChanging(global::System.String value);
  2332   2542           partial void OnPhotoPathChanged();
         2543  +
         2544  +        #endregion
         2545  +    
  2333   2546       }
         2547  +    
  2334   2548       /// <summary>
  2335         -    /// There are no comments for northwindEFModel.Products in the schema.
         2549  +    /// No Metadata Documentation available.
  2336   2550       /// </summary>
  2337         -    /// <KeyProperties>
  2338         -    /// ProductID
  2339         -    /// </KeyProperties>
  2340         -    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Products")]
  2341         -    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
  2342         -    [global::System.Serializable()]
  2343         -    public partial class Products : global::System.Data.Objects.DataClasses.EntityObject
         2551  +    [EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Products")]
         2552  +    [Serializable()]
         2553  +    [DataContractAttribute(IsReference=true)]
         2554  +    public partial class Products : EntityObject
  2344   2555       {
         2556  +        #region Factory Method
         2557  +    
  2345   2558           /// <summary>
  2346   2559           /// Create a new Products object.
  2347   2560           /// </summary>
  2348         -        /// <param name="productID">Initial value of ProductID.</param>
  2349         -        /// <param name="productName">Initial value of ProductName.</param>
  2350         -        /// <param name="discontinued">Initial value of Discontinued.</param>
  2351         -        public static Products CreateProducts(long productID, string productName, bool discontinued)
         2561  +        /// <param name="productID">Initial value of the ProductID property.</param>
         2562  +        /// <param name="productName">Initial value of the ProductName property.</param>
         2563  +        /// <param name="discontinued">Initial value of the Discontinued property.</param>
         2564  +        public static Products CreateProducts(global::System.Int64 productID, global::System.String productName, global::System.Boolean discontinued)
  2352   2565           {
  2353   2566               Products products = new Products();
  2354   2567               products.ProductID = productID;
  2355   2568               products.ProductName = productName;
  2356   2569               products.Discontinued = discontinued;
  2357   2570               return products;
  2358   2571           }
  2359         -        /// <summary>
  2360         -        /// There are no comments for Property ProductID in the schema.
  2361         -        /// </summary>
  2362         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
  2363         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2364         -        public long ProductID
  2365         -        {
  2366         -            get
  2367         -            {
  2368         -                return this._ProductID;
  2369         -            }
  2370         -            set
  2371         -            {
  2372         -                this.OnProductIDChanging(value);
  2373         -                this.ReportPropertyChanging("ProductID");
  2374         -                this._ProductID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  2375         -                this.ReportPropertyChanged("ProductID");
  2376         -                this.OnProductIDChanged();
  2377         -            }
  2378         -        }
  2379         -        private long _ProductID;
  2380         -        partial void OnProductIDChanging(long value);
         2572  +
         2573  +        #endregion
         2574  +        #region Primitive Properties
         2575  +    
         2576  +        /// <summary>
         2577  +        /// No Metadata Documentation available.
         2578  +        /// </summary>
         2579  +        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
         2580  +        [DataMemberAttribute()]
         2581  +        public global::System.Int64 ProductID
         2582  +        {
         2583  +            get
         2584  +            {
         2585  +                return _ProductID;
         2586  +            }
         2587  +            set
         2588  +            {
         2589  +                if (_ProductID != value)
         2590  +                {
         2591  +                    OnProductIDChanging(value);
         2592  +                    ReportPropertyChanging("ProductID");
         2593  +                    _ProductID = StructuralObject.SetValidValue(value);
         2594  +                    ReportPropertyChanged("ProductID");
         2595  +                    OnProductIDChanged();
         2596  +                }
         2597  +            }
         2598  +        }
         2599  +        private global::System.Int64 _ProductID;
         2600  +        partial void OnProductIDChanging(global::System.Int64 value);
  2381   2601           partial void OnProductIDChanged();
  2382         -        /// <summary>
  2383         -        /// There are no comments for Property ProductName in the schema.
  2384         -        /// </summary>
  2385         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
  2386         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2387         -        public string ProductName
  2388         -        {
  2389         -            get
  2390         -            {
  2391         -                return this._ProductName;
  2392         -            }
  2393         -            set
  2394         -            {
  2395         -                this.OnProductNameChanging(value);
  2396         -                this.ReportPropertyChanging("ProductName");
  2397         -                this._ProductName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
  2398         -                this.ReportPropertyChanged("ProductName");
  2399         -                this.OnProductNameChanged();
  2400         -            }
  2401         -        }
  2402         -        private string _ProductName;
  2403         -        partial void OnProductNameChanging(string value);
         2602  +    
         2603  +        /// <summary>
         2604  +        /// No Metadata Documentation available.
         2605  +        /// </summary>
         2606  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
         2607  +        [DataMemberAttribute()]
         2608  +        public global::System.String ProductName
         2609  +        {
         2610  +            get
         2611  +            {
         2612  +                return _ProductName;
         2613  +            }
         2614  +            set
         2615  +            {
         2616  +                OnProductNameChanging(value);
         2617  +                ReportPropertyChanging("ProductName");
         2618  +                _ProductName = StructuralObject.SetValidValue(value, false);
         2619  +                ReportPropertyChanged("ProductName");
         2620  +                OnProductNameChanged();
         2621  +            }
         2622  +        }
         2623  +        private global::System.String _ProductName;
         2624  +        partial void OnProductNameChanging(global::System.String value);
  2404   2625           partial void OnProductNameChanged();
  2405         -        /// <summary>
  2406         -        /// There are no comments for Property QuantityPerUnit in the schema.
  2407         -        /// </summary>
  2408         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2409         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2410         -        public string QuantityPerUnit
  2411         -        {
  2412         -            get
  2413         -            {
  2414         -                return this._QuantityPerUnit;
  2415         -            }
  2416         -            set
  2417         -            {
  2418         -                this.OnQuantityPerUnitChanging(value);
  2419         -                this.ReportPropertyChanging("QuantityPerUnit");
  2420         -                this._QuantityPerUnit = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2421         -                this.ReportPropertyChanged("QuantityPerUnit");
  2422         -                this.OnQuantityPerUnitChanged();
  2423         -            }
  2424         -        }
  2425         -        private string _QuantityPerUnit;
  2426         -        partial void OnQuantityPerUnitChanging(string value);
         2626  +    
         2627  +        /// <summary>
         2628  +        /// No Metadata Documentation available.
         2629  +        /// </summary>
         2630  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2631  +        [DataMemberAttribute()]
         2632  +        public global::System.String QuantityPerUnit
         2633  +        {
         2634  +            get
         2635  +            {
         2636  +                return _QuantityPerUnit;
         2637  +            }
         2638  +            set
         2639  +            {
         2640  +                OnQuantityPerUnitChanging(value);
         2641  +                ReportPropertyChanging("QuantityPerUnit");
         2642  +                _QuantityPerUnit = StructuralObject.SetValidValue(value, true);
         2643  +                ReportPropertyChanged("QuantityPerUnit");
         2644  +                OnQuantityPerUnitChanged();
         2645  +            }
         2646  +        }
         2647  +        private global::System.String _QuantityPerUnit;
         2648  +        partial void OnQuantityPerUnitChanging(global::System.String value);
  2427   2649           partial void OnQuantityPerUnitChanged();
  2428         -        /// <summary>
  2429         -        /// There are no comments for Property UnitPrice in the schema.
  2430         -        /// </summary>
  2431         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2432         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2433         -        public global::System.Nullable<decimal> UnitPrice
  2434         -        {
  2435         -            get
  2436         -            {
  2437         -                return this._UnitPrice;
  2438         -            }
  2439         -            set
  2440         -            {
  2441         -                this.OnUnitPriceChanging(value);
  2442         -                this.ReportPropertyChanging("UnitPrice");
  2443         -                this._UnitPrice = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  2444         -                this.ReportPropertyChanged("UnitPrice");
  2445         -                this.OnUnitPriceChanged();
  2446         -            }
  2447         -        }
  2448         -        private global::System.Nullable<decimal> _UnitPrice;
  2449         -        partial void OnUnitPriceChanging(global::System.Nullable<decimal> value);
         2650  +    
         2651  +        /// <summary>
         2652  +        /// No Metadata Documentation available.
         2653  +        /// </summary>
         2654  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2655  +        [DataMemberAttribute()]
         2656  +        public Nullable<global::System.Decimal> UnitPrice
         2657  +        {
         2658  +            get
         2659  +            {
         2660  +                return _UnitPrice;
         2661  +            }
         2662  +            set
         2663  +            {
         2664  +                OnUnitPriceChanging(value);
         2665  +                ReportPropertyChanging("UnitPrice");
         2666  +                _UnitPrice = StructuralObject.SetValidValue(value);
         2667  +                ReportPropertyChanged("UnitPrice");
         2668  +                OnUnitPriceChanged();
         2669  +            }
         2670  +        }
         2671  +        private Nullable<global::System.Decimal> _UnitPrice;
         2672  +        partial void OnUnitPriceChanging(Nullable<global::System.Decimal> value);
  2450   2673           partial void OnUnitPriceChanged();
  2451         -        /// <summary>
  2452         -        /// There are no comments for Property UnitsInStock in the schema.
  2453         -        /// </summary>
  2454         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2455         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2456         -        public global::System.Nullable<short> UnitsInStock
  2457         -        {
  2458         -            get
  2459         -            {
  2460         -                return this._UnitsInStock;
  2461         -            }
  2462         -            set
  2463         -            {
  2464         -                this.OnUnitsInStockChanging(value);
  2465         -                this.ReportPropertyChanging("UnitsInStock");
  2466         -                this._UnitsInStock = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  2467         -                this.ReportPropertyChanged("UnitsInStock");
  2468         -                this.OnUnitsInStockChanged();
  2469         -            }
  2470         -        }
  2471         -        private global::System.Nullable<short> _UnitsInStock;
  2472         -        partial void OnUnitsInStockChanging(global::System.Nullable<short> value);
         2674  +    
         2675  +        /// <summary>
         2676  +        /// No Metadata Documentation available.
         2677  +        /// </summary>
         2678  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2679  +        [DataMemberAttribute()]
         2680  +        public Nullable<global::System.Int16> UnitsInStock
         2681  +        {
         2682  +            get
         2683  +            {
         2684  +                return _UnitsInStock;
         2685  +            }
         2686  +            set
         2687  +            {
         2688  +                OnUnitsInStockChanging(value);
         2689  +                ReportPropertyChanging("UnitsInStock");
         2690  +                _UnitsInStock = StructuralObject.SetValidValue(value);
         2691  +                ReportPropertyChanged("UnitsInStock");
         2692  +                OnUnitsInStockChanged();
         2693  +            }
         2694  +        }
         2695  +        private Nullable<global::System.Int16> _UnitsInStock;
         2696  +        partial void OnUnitsInStockChanging(Nullable<global::System.Int16> value);
  2473   2697           partial void OnUnitsInStockChanged();
  2474         -        /// <summary>
  2475         -        /// There are no comments for Property UnitsOnOrder in the schema.
  2476         -        /// </summary>
  2477         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2478         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2479         -        public global::System.Nullable<short> UnitsOnOrder
  2480         -        {
  2481         -            get
  2482         -            {
  2483         -                return this._UnitsOnOrder;
  2484         -            }
  2485         -            set
  2486         -            {
  2487         -                this.OnUnitsOnOrderChanging(value);
  2488         -                this.ReportPropertyChanging("UnitsOnOrder");
  2489         -                this._UnitsOnOrder = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  2490         -                this.ReportPropertyChanged("UnitsOnOrder");
  2491         -                this.OnUnitsOnOrderChanged();
  2492         -            }
  2493         -        }
  2494         -        private global::System.Nullable<short> _UnitsOnOrder;
  2495         -        partial void OnUnitsOnOrderChanging(global::System.Nullable<short> value);
         2698  +    
         2699  +        /// <summary>
         2700  +        /// No Metadata Documentation available.
         2701  +        /// </summary>
         2702  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2703  +        [DataMemberAttribute()]
         2704  +        public Nullable<global::System.Int16> UnitsOnOrder
         2705  +        {
         2706  +            get
         2707  +            {
         2708  +                return _UnitsOnOrder;
         2709  +            }
         2710  +            set
         2711  +            {
         2712  +                OnUnitsOnOrderChanging(value);
         2713  +                ReportPropertyChanging("UnitsOnOrder");
         2714  +                _UnitsOnOrder = StructuralObject.SetValidValue(value);
         2715  +                ReportPropertyChanged("UnitsOnOrder");
         2716  +                OnUnitsOnOrderChanged();
         2717  +            }
         2718  +        }
         2719  +        private Nullable<global::System.Int16> _UnitsOnOrder;
         2720  +        partial void OnUnitsOnOrderChanging(Nullable<global::System.Int16> value);
  2496   2721           partial void OnUnitsOnOrderChanged();
  2497         -        /// <summary>
  2498         -        /// There are no comments for Property ReorderLevel in the schema.
  2499         -        /// </summary>
  2500         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2501         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2502         -        public global::System.Nullable<short> ReorderLevel
  2503         -        {
  2504         -            get
  2505         -            {
  2506         -                return this._ReorderLevel;
  2507         -            }
  2508         -            set
  2509         -            {
  2510         -                this.OnReorderLevelChanging(value);
  2511         -                this.ReportPropertyChanging("ReorderLevel");
  2512         -                this._ReorderLevel = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  2513         -                this.ReportPropertyChanged("ReorderLevel");
  2514         -                this.OnReorderLevelChanged();
  2515         -            }
  2516         -        }
  2517         -        private global::System.Nullable<short> _ReorderLevel;
  2518         -        partial void OnReorderLevelChanging(global::System.Nullable<short> value);
         2722  +    
         2723  +        /// <summary>
         2724  +        /// No Metadata Documentation available.
         2725  +        /// </summary>
         2726  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2727  +        [DataMemberAttribute()]
         2728  +        public Nullable<global::System.Int16> ReorderLevel
         2729  +        {
         2730  +            get
         2731  +            {
         2732  +                return _ReorderLevel;
         2733  +            }
         2734  +            set
         2735  +            {
         2736  +                OnReorderLevelChanging(value);
         2737  +                ReportPropertyChanging("ReorderLevel");
         2738  +                _ReorderLevel = StructuralObject.SetValidValue(value);
         2739  +                ReportPropertyChanged("ReorderLevel");
         2740  +                OnReorderLevelChanged();
         2741  +            }
         2742  +        }
         2743  +        private Nullable<global::System.Int16> _ReorderLevel;
         2744  +        partial void OnReorderLevelChanging(Nullable<global::System.Int16> value);
  2519   2745           partial void OnReorderLevelChanged();
  2520         -        /// <summary>
  2521         -        /// There are no comments for Property Discontinued in the schema.
  2522         -        /// </summary>
  2523         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
  2524         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2525         -        public bool Discontinued
  2526         -        {
  2527         -            get
  2528         -            {
  2529         -                return this._Discontinued;
  2530         -            }
  2531         -            set
  2532         -            {
  2533         -                this.OnDiscontinuedChanging(value);
  2534         -                this.ReportPropertyChanging("Discontinued");
  2535         -                this._Discontinued = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  2536         -                this.ReportPropertyChanged("Discontinued");
  2537         -                this.OnDiscontinuedChanged();
  2538         -            }
  2539         -        }
  2540         -        private bool _Discontinued;
  2541         -        partial void OnDiscontinuedChanging(bool value);
         2746  +    
         2747  +        /// <summary>
         2748  +        /// No Metadata Documentation available.
         2749  +        /// </summary>
         2750  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
         2751  +        [DataMemberAttribute()]
         2752  +        public global::System.Boolean Discontinued
         2753  +        {
         2754  +            get
         2755  +            {
         2756  +                return _Discontinued;
         2757  +            }
         2758  +            set
         2759  +            {
         2760  +                OnDiscontinuedChanging(value);
         2761  +                ReportPropertyChanging("Discontinued");
         2762  +                _Discontinued = StructuralObject.SetValidValue(value);
         2763  +                ReportPropertyChanged("Discontinued");
         2764  +                OnDiscontinuedChanged();
         2765  +            }
         2766  +        }
         2767  +        private global::System.Boolean _Discontinued;
         2768  +        partial void OnDiscontinuedChanging(global::System.Boolean value);
  2542   2769           partial void OnDiscontinuedChanged();
  2543         -        /// <summary>
  2544         -        /// There are no comments for Property DiscontinuedDate in the schema.
  2545         -        /// </summary>
  2546         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2547         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2548         -        public global::System.Nullable<global::System.DateTime> DiscontinuedDate
  2549         -        {
  2550         -            get
  2551         -            {
  2552         -                return this._DiscontinuedDate;
  2553         -            }
  2554         -            set
  2555         -            {
  2556         -                this.OnDiscontinuedDateChanging(value);
  2557         -                this.ReportPropertyChanging("DiscontinuedDate");
  2558         -                this._DiscontinuedDate = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  2559         -                this.ReportPropertyChanged("DiscontinuedDate");
  2560         -                this.OnDiscontinuedDateChanged();
  2561         -            }
  2562         -        }
  2563         -        private global::System.Nullable<global::System.DateTime> _DiscontinuedDate;
  2564         -        partial void OnDiscontinuedDateChanging(global::System.Nullable<global::System.DateTime> value);
         2770  +    
         2771  +        /// <summary>
         2772  +        /// No Metadata Documentation available.
         2773  +        /// </summary>
         2774  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         2775  +        [DataMemberAttribute()]
         2776  +        public Nullable<global::System.DateTime> DiscontinuedDate
         2777  +        {
         2778  +            get
         2779  +            {
         2780  +                return _DiscontinuedDate;
         2781  +            }
         2782  +            set
         2783  +            {
         2784  +                OnDiscontinuedDateChanging(value);
         2785  +                ReportPropertyChanging("DiscontinuedDate");
         2786  +                _DiscontinuedDate = StructuralObject.SetValidValue(value);
         2787  +                ReportPropertyChanged("DiscontinuedDate");
         2788  +                OnDiscontinuedDateChanged();
         2789  +            }
         2790  +        }
         2791  +        private Nullable<global::System.DateTime> _DiscontinuedDate;
         2792  +        partial void OnDiscontinuedDateChanging(Nullable<global::System.DateTime> value);
  2565   2793           partial void OnDiscontinuedDateChanged();
         2794  +
         2795  +        #endregion
         2796  +    
         2797  +        #region Navigation Properties
         2798  +    
  2566   2799           /// <summary>
  2567         -        /// There are no comments for Categories in the schema.
         2800  +        /// No Metadata Documentation available.
  2568   2801           /// </summary>
  2569         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Products_CategoryID_CategoryID", "Categories")]
  2570         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  2571         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  2572         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
         2802  +        [XmlIgnoreAttribute()]
         2803  +        [SoapIgnoreAttribute()]
         2804  +        [DataMemberAttribute()]
         2805  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Products_CategoryID_CategoryID", "Categories")]
  2573   2806           public Categories Categories
  2574   2807           {
  2575   2808               get
  2576   2809               {
  2577         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Categories>("northwindEFModel.FK_Products_CategoryID_CategoryID", "Categories").Value;
  2578         -            }
  2579         -            set
  2580         -            {
  2581         -                ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Categories>("northwindEFModel.FK_Products_CategoryID_CategoryID", "Categories").Value = value;
  2582         -            }
  2583         -        }
  2584         -        /// <summary>
  2585         -        /// There are no comments for Categories in the schema.
  2586         -        /// </summary>
  2587         -        [global::System.ComponentModel.BrowsableAttribute(false)]
  2588         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2589         -        public global::System.Data.Objects.DataClasses.EntityReference<Categories> CategoriesReference
  2590         -        {
  2591         -            get
  2592         -            {
  2593         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Categories>("northwindEFModel.FK_Products_CategoryID_CategoryID", "Categories");
         2810  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Categories>("northwindEFModel.FK_Products_CategoryID_CategoryID", "Categories").Value;
         2811  +            }
         2812  +            set
         2813  +            {
         2814  +                ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Categories>("northwindEFModel.FK_Products_CategoryID_CategoryID", "Categories").Value = value;
         2815  +            }
         2816  +        }
         2817  +        /// <summary>
         2818  +        /// No Metadata Documentation available.
         2819  +        /// </summary>
         2820  +        [BrowsableAttribute(false)]
         2821  +        [DataMemberAttribute()]
         2822  +        public EntityReference<Categories> CategoriesReference
         2823  +        {
         2824  +            get
         2825  +            {
         2826  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Categories>("northwindEFModel.FK_Products_CategoryID_CategoryID", "Categories");
         2827  +            }
         2828  +            set
         2829  +            {
         2830  +                if ((value != null))
         2831  +                {
         2832  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference<Categories>("northwindEFModel.FK_Products_CategoryID_CategoryID", "Categories", value);
         2833  +                }
         2834  +            }
         2835  +        }
         2836  +    
         2837  +        /// <summary>
         2838  +        /// No Metadata Documentation available.
         2839  +        /// </summary>
         2840  +        [XmlIgnoreAttribute()]
         2841  +        [SoapIgnoreAttribute()]
         2842  +        [DataMemberAttribute()]
         2843  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_OrderDetails_ProductID_ProductID", "OrderDetails")]
         2844  +        public EntityCollection<OrderDetails> OrderDetails
         2845  +        {
         2846  +            get
         2847  +            {
         2848  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<OrderDetails>("northwindEFModel.FK_OrderDetails_ProductID_ProductID", "OrderDetails");
         2849  +            }
         2850  +            set
         2851  +            {
         2852  +                if ((value != null))
         2853  +                {
         2854  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection<OrderDetails>("northwindEFModel.FK_OrderDetails_ProductID_ProductID", "OrderDetails", value);
         2855  +                }
         2856  +            }
         2857  +        }
         2858  +    
         2859  +        /// <summary>
         2860  +        /// No Metadata Documentation available.
         2861  +        /// </summary>
         2862  +        [XmlIgnoreAttribute()]
         2863  +        [SoapIgnoreAttribute()]
         2864  +        [DataMemberAttribute()]
         2865  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Products_SupplierID_SupplierID", "Suppliers")]
         2866  +        public Suppliers Suppliers
         2867  +        {
         2868  +            get
         2869  +            {
         2870  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Suppliers>("northwindEFModel.FK_Products_SupplierID_SupplierID", "Suppliers").Value;
         2871  +            }
         2872  +            set
         2873  +            {
         2874  +                ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Suppliers>("northwindEFModel.FK_Products_SupplierID_SupplierID", "Suppliers").Value = value;
         2875  +            }
         2876  +        }
         2877  +        /// <summary>
         2878  +        /// No Metadata Documentation available.
         2879  +        /// </summary>
         2880  +        [BrowsableAttribute(false)]
         2881  +        [DataMemberAttribute()]
         2882  +        public EntityReference<Suppliers> SuppliersReference
         2883  +        {
         2884  +            get
         2885  +            {
         2886  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Suppliers>("northwindEFModel.FK_Products_SupplierID_SupplierID", "Suppliers");
  2594   2887               }
  2595   2888               set
  2596   2889               {
  2597   2890                   if ((value != null))
  2598   2891                   {
  2599         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Categories>("northwindEFModel.FK_Products_CategoryID_CategoryID", "Categories", value);
         2892  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference<Suppliers>("northwindEFModel.FK_Products_SupplierID_SupplierID", "Suppliers", value);
  2600   2893                   }
  2601   2894               }
  2602   2895           }
  2603         -        /// <summary>
  2604         -        /// There are no comments for OrderDetails in the schema.
  2605         -        /// </summary>
  2606         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_OrderDetails_ProductID_ProductID", "OrderDetails")]
  2607         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  2608         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  2609         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2610         -        public global::System.Data.Objects.DataClasses.EntityCollection<OrderDetails> OrderDetails
  2611         -        {
  2612         -            get
  2613         -            {
  2614         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<OrderDetails>("northwindEFModel.FK_OrderDetails_ProductID_ProductID", "OrderDetails");
  2615         -            }
  2616         -            set
  2617         -            {
  2618         -                if ((value != null))
  2619         -                {
  2620         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<OrderDetails>("northwindEFModel.FK_OrderDetails_ProductID_ProductID", "OrderDetails", value);
  2621         -                }
  2622         -            }
  2623         -        }
  2624         -        /// <summary>
  2625         -        /// There are no comments for Suppliers in the schema.
  2626         -        /// </summary>
  2627         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Products_SupplierID_SupplierID", "Suppliers")]
  2628         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  2629         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  2630         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2631         -        public Suppliers Suppliers
  2632         -        {
  2633         -            get
  2634         -            {
  2635         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Suppliers>("northwindEFModel.FK_Products_SupplierID_SupplierID", "Suppliers").Value;
  2636         -            }
  2637         -            set
  2638         -            {
  2639         -                ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Suppliers>("northwindEFModel.FK_Products_SupplierID_SupplierID", "Suppliers").Value = value;
  2640         -            }
  2641         -        }
  2642         -        /// <summary>
  2643         -        /// There are no comments for Suppliers in the schema.
  2644         -        /// </summary>
  2645         -        [global::System.ComponentModel.BrowsableAttribute(false)]
  2646         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2647         -        public global::System.Data.Objects.DataClasses.EntityReference<Suppliers> SuppliersReference
  2648         -        {
  2649         -            get
  2650         -            {
  2651         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Suppliers>("northwindEFModel.FK_Products_SupplierID_SupplierID", "Suppliers");
  2652         -            }
  2653         -            set
  2654         -            {
  2655         -                if ((value != null))
  2656         -                {
  2657         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Suppliers>("northwindEFModel.FK_Products_SupplierID_SupplierID", "Suppliers", value);
  2658         -                }
  2659         -            }
  2660         -        }
         2896  +
         2897  +        #endregion
  2661   2898       }
         2899  +    
  2662   2900       /// <summary>
  2663         -    /// There are no comments for northwindEFModel.Regions in the schema.
         2901  +    /// No Metadata Documentation available.
  2664   2902       /// </summary>
  2665         -    /// <KeyProperties>
  2666         -    /// RegionID
  2667         -    /// </KeyProperties>
  2668         -    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Regions")]
  2669         -    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
  2670         -    [global::System.Serializable()]
  2671         -    public partial class Regions : global::System.Data.Objects.DataClasses.EntityObject
         2903  +    [EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Regions")]
         2904  +    [Serializable()]
         2905  +    [DataContractAttribute(IsReference=true)]
         2906  +    public partial class Regions : EntityObject
  2672   2907       {
         2908  +        #region Factory Method
         2909  +    
  2673   2910           /// <summary>
  2674   2911           /// Create a new Regions object.
  2675   2912           /// </summary>
  2676         -        /// <param name="regionID">Initial value of RegionID.</param>
  2677         -        /// <param name="regionDescription">Initial value of RegionDescription.</param>
  2678         -        public static Regions CreateRegions(long regionID, string regionDescription)
         2913  +        /// <param name="regionID">Initial value of the RegionID property.</param>
         2914  +        /// <param name="regionDescription">Initial value of the RegionDescription property.</param>
         2915  +        public static Regions CreateRegions(global::System.Int64 regionID, global::System.String regionDescription)
  2679   2916           {
  2680   2917               Regions regions = new Regions();
  2681   2918               regions.RegionID = regionID;
  2682   2919               regions.RegionDescription = regionDescription;
  2683   2920               return regions;
  2684   2921           }
  2685         -        /// <summary>
  2686         -        /// There are no comments for Property RegionID in the schema.
  2687         -        /// </summary>
  2688         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
  2689         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2690         -        public long RegionID
  2691         -        {
  2692         -            get
  2693         -            {
  2694         -                return this._RegionID;
  2695         -            }
  2696         -            set
  2697         -            {
  2698         -                this.OnRegionIDChanging(value);
  2699         -                this.ReportPropertyChanging("RegionID");
  2700         -                this._RegionID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  2701         -                this.ReportPropertyChanged("RegionID");
  2702         -                this.OnRegionIDChanged();
  2703         -            }
  2704         -        }
  2705         -        private long _RegionID;
  2706         -        partial void OnRegionIDChanging(long value);
         2922  +
         2923  +        #endregion
         2924  +        #region Primitive Properties
         2925  +    
         2926  +        /// <summary>
         2927  +        /// No Metadata Documentation available.
         2928  +        /// </summary>
         2929  +        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
         2930  +        [DataMemberAttribute()]
         2931  +        public global::System.Int64 RegionID
         2932  +        {
         2933  +            get
         2934  +            {
         2935  +                return _RegionID;
         2936  +            }
         2937  +            set
         2938  +            {
         2939  +                if (_RegionID != value)
         2940  +                {
         2941  +                    OnRegionIDChanging(value);
         2942  +                    ReportPropertyChanging("RegionID");
         2943  +                    _RegionID = StructuralObject.SetValidValue(value);
         2944  +                    ReportPropertyChanged("RegionID");
         2945  +                    OnRegionIDChanged();
         2946  +                }
         2947  +            }
         2948  +        }
         2949  +        private global::System.Int64 _RegionID;
         2950  +        partial void OnRegionIDChanging(global::System.Int64 value);
  2707   2951           partial void OnRegionIDChanged();
  2708         -        /// <summary>
  2709         -        /// There are no comments for Property RegionDescription in the schema.
  2710         -        /// </summary>
  2711         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
  2712         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2713         -        public string RegionDescription
  2714         -        {
  2715         -            get
  2716         -            {
  2717         -                return this._RegionDescription;
  2718         -            }
  2719         -            set
  2720         -            {
  2721         -                this.OnRegionDescriptionChanging(value);
  2722         -                this.ReportPropertyChanging("RegionDescription");
  2723         -                this._RegionDescription = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
  2724         -                this.ReportPropertyChanged("RegionDescription");
  2725         -                this.OnRegionDescriptionChanged();
  2726         -            }
  2727         -        }
  2728         -        private string _RegionDescription;
  2729         -        partial void OnRegionDescriptionChanging(string value);
         2952  +    
         2953  +        /// <summary>
         2954  +        /// No Metadata Documentation available.
         2955  +        /// </summary>
         2956  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
         2957  +        [DataMemberAttribute()]
         2958  +        public global::System.String RegionDescription
         2959  +        {
         2960  +            get
         2961  +            {
         2962  +                return _RegionDescription;
         2963  +            }
         2964  +            set
         2965  +            {
         2966  +                OnRegionDescriptionChanging(value);
         2967  +                ReportPropertyChanging("RegionDescription");
         2968  +                _RegionDescription = StructuralObject.SetValidValue(value, false);
         2969  +                ReportPropertyChanged("RegionDescription");
         2970  +                OnRegionDescriptionChanged();
         2971  +            }
         2972  +        }
         2973  +        private global::System.String _RegionDescription;
         2974  +        partial void OnRegionDescriptionChanging(global::System.String value);
  2730   2975           partial void OnRegionDescriptionChanged();
         2976  +
         2977  +        #endregion
         2978  +    
         2979  +        #region Navigation Properties
         2980  +    
  2731   2981           /// <summary>
  2732         -        /// There are no comments for Territories in the schema.
         2982  +        /// No Metadata Documentation available.
  2733   2983           /// </summary>
  2734         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Territories_RegionID_RegionID", "Territories")]
  2735         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  2736         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  2737         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2738         -        public global::System.Data.Objects.DataClasses.EntityCollection<Territories> Territories
         2984  +        [XmlIgnoreAttribute()]
         2985  +        [SoapIgnoreAttribute()]
         2986  +        [DataMemberAttribute()]
         2987  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Territories_RegionID_RegionID", "Territories")]
         2988  +        public EntityCollection<Territories> Territories
  2739   2989           {
  2740   2990               get
  2741   2991               {
  2742         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Territories>("northwindEFModel.FK_Territories_RegionID_RegionID", "Territories");
         2992  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Territories>("northwindEFModel.FK_Territories_RegionID_RegionID", "Territories");
  2743   2993               }
  2744   2994               set
  2745   2995               {
  2746   2996                   if ((value != null))
  2747   2997                   {
  2748         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Territories>("northwindEFModel.FK_Territories_RegionID_RegionID", "Territories", value);
         2998  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection<Territories>("northwindEFModel.FK_Territories_RegionID_RegionID", "Territories", value);
  2749   2999                   }
  2750   3000               }
  2751   3001           }
         3002  +
         3003  +        #endregion
  2752   3004       }
         3005  +    
  2753   3006       /// <summary>
  2754         -    /// There are no comments for northwindEFModel.Suppliers in the schema.
         3007  +    /// No Metadata Documentation available.
  2755   3008       /// </summary>
  2756         -    /// <KeyProperties>
  2757         -    /// SupplierID
  2758         -    /// </KeyProperties>
  2759         -    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Suppliers")]
  2760         -    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
  2761         -    [global::System.Serializable()]
  2762         -    public partial class Suppliers : global::System.Data.Objects.DataClasses.EntityObject
         3009  +    [EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Suppliers")]
         3010  +    [Serializable()]
         3011  +    [DataContractAttribute(IsReference=true)]
         3012  +    public partial class Suppliers : EntityObject
  2763   3013       {
         3014  +        #region Factory Method
         3015  +    
  2764   3016           /// <summary>
  2765   3017           /// Create a new Suppliers object.
  2766   3018           /// </summary>
  2767         -        /// <param name="supplierID">Initial value of SupplierID.</param>
  2768         -        /// <param name="companyName">Initial value of CompanyName.</param>
  2769         -        public static Suppliers CreateSuppliers(long supplierID, string companyName)
         3019  +        /// <param name="supplierID">Initial value of the SupplierID property.</param>
         3020  +        /// <param name="companyName">Initial value of the CompanyName property.</param>
         3021  +        public static Suppliers CreateSuppliers(global::System.Int64 supplierID, global::System.String companyName)
  2770   3022           {
  2771   3023               Suppliers suppliers = new Suppliers();
  2772   3024               suppliers.SupplierID = supplierID;
  2773   3025               suppliers.CompanyName = companyName;
  2774   3026               return suppliers;
  2775   3027           }
         3028  +
         3029  +        #endregion
         3030  +        #region Primitive Properties
         3031  +    
         3032  +        /// <summary>
         3033  +        /// No Metadata Documentation available.
         3034  +        /// </summary>
         3035  +        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
         3036  +        [DataMemberAttribute()]
         3037  +        public global::System.Int64 SupplierID
         3038  +        {
         3039  +            get
         3040  +            {
         3041  +                return _SupplierID;
         3042  +            }
         3043  +            set
         3044  +            {
         3045  +                if (_SupplierID != value)
         3046  +                {
         3047  +                    OnSupplierIDChanging(value);
         3048  +                    ReportPropertyChanging("SupplierID");
         3049  +                    _SupplierID = StructuralObject.SetValidValue(value);
         3050  +                    ReportPropertyChanged("SupplierID");
         3051  +                    OnSupplierIDChanged();
         3052  +                }
         3053  +            }
         3054  +        }
         3055  +        private global::System.Int64 _SupplierID;
         3056  +        partial void OnSupplierIDChanging(global::System.Int64 value);
         3057  +        partial void OnSupplierIDChanged();
         3058  +    
         3059  +        /// <summary>
         3060  +        /// No Metadata Documentation available.
         3061  +        /// </summary>
         3062  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
         3063  +        [DataMemberAttribute()]
         3064  +        public global::System.String CompanyName
         3065  +        {
         3066  +            get
         3067  +            {
         3068  +                return _CompanyName;
         3069  +            }
         3070  +            set
         3071  +            {
         3072  +                OnCompanyNameChanging(value);
         3073  +                ReportPropertyChanging("CompanyName");
         3074  +                _CompanyName = StructuralObject.SetValidValue(value, false);
         3075  +                ReportPropertyChanged("CompanyName");
         3076  +                OnCompanyNameChanged();
         3077  +            }
         3078  +        }
         3079  +        private global::System.String _CompanyName;
         3080  +        partial void OnCompanyNameChanging(global::System.String value);
         3081  +        partial void OnCompanyNameChanged();
         3082  +    
         3083  +        /// <summary>
         3084  +        /// No Metadata Documentation available.
         3085  +        /// </summary>
         3086  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         3087  +        [DataMemberAttribute()]
         3088  +        public global::System.String ContactName
         3089  +        {
         3090  +            get
         3091  +            {
         3092  +                return _ContactName;
         3093  +            }
         3094  +            set
         3095  +            {
         3096  +                OnContactNameChanging(value);
         3097  +                ReportPropertyChanging("ContactName");
         3098  +                _ContactName = StructuralObject.SetValidValue(value, true);
         3099  +                ReportPropertyChanged("ContactName");
         3100  +                OnContactNameChanged();
         3101  +            }
         3102  +        }
         3103  +        private global::System.String _ContactName;
         3104  +        partial void OnContactNameChanging(global::System.String value);
         3105  +        partial void OnContactNameChanged();
         3106  +    
         3107  +        /// <summary>
         3108  +        /// No Metadata Documentation available.
         3109  +        /// </summary>
         3110  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         3111  +        [DataMemberAttribute()]
         3112  +        public global::System.String ContactTitle
         3113  +        {
         3114  +            get
         3115  +            {
         3116  +                return _ContactTitle;
         3117  +            }
         3118  +            set
         3119  +            {
         3120  +                OnContactTitleChanging(value);
         3121  +                ReportPropertyChanging("ContactTitle");
         3122  +                _ContactTitle = StructuralObject.SetValidValue(value, true);
         3123  +                ReportPropertyChanged("ContactTitle");
         3124  +                OnContactTitleChanged();
         3125  +            }
         3126  +        }
         3127  +        private global::System.String _ContactTitle;
         3128  +        partial void OnContactTitleChanging(global::System.String value);
         3129  +        partial void OnContactTitleChanged();
         3130  +    
         3131  +        /// <summary>
         3132  +        /// No Metadata Documentation available.
         3133  +        /// </summary>
         3134  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         3135  +        [DataMemberAttribute()]
         3136  +        public global::System.String Address
         3137  +        {
         3138  +            get
         3139  +            {
         3140  +                return _Address;
         3141  +            }
         3142  +            set
         3143  +            {
         3144  +                OnAddressChanging(value);
         3145  +                ReportPropertyChanging("Address");
         3146  +                _Address = StructuralObject.SetValidValue(value, true);
         3147  +                ReportPropertyChanged("Address");
         3148  +                OnAddressChanged();
         3149  +            }
         3150  +        }
         3151  +        private global::System.String _Address;
         3152  +        partial void OnAddressChanging(global::System.String value);
         3153  +        partial void OnAddressChanged();
         3154  +    
         3155  +        /// <summary>
         3156  +        /// No Metadata Documentation available.
         3157  +        /// </summary>
         3158  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         3159  +        [DataMemberAttribute()]
         3160  +        public global::System.String City
         3161  +        {
         3162  +            get
         3163  +            {
         3164  +                return _City;
         3165  +            }
         3166  +            set
         3167  +            {
         3168  +                OnCityChanging(value);
         3169  +                ReportPropertyChanging("City");
         3170  +                _City = StructuralObject.SetValidValue(value, true);
         3171  +                ReportPropertyChanged("City");
         3172  +                OnCityChanged();
         3173  +            }
         3174  +        }
         3175  +        private global::System.String _City;
         3176  +        partial void OnCityChanging(global::System.String value);
         3177  +        partial void OnCityChanged();
         3178  +    
         3179  +        /// <summary>
         3180  +        /// No Metadata Documentation available.
         3181  +        /// </summary>
         3182  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         3183  +        [DataMemberAttribute()]
         3184  +        public global::System.String Region
         3185  +        {
         3186  +            get
         3187  +            {
         3188  +                return _Region;
         3189  +            }
         3190  +            set
         3191  +            {
         3192  +                OnRegionChanging(value);
         3193  +                ReportPropertyChanging("Region");
         3194  +                _Region = StructuralObject.SetValidValue(value, true);
         3195  +                ReportPropertyChanged("Region");
         3196  +                OnRegionChanged();
         3197  +            }
         3198  +        }
         3199  +        private global::System.String _Region;
         3200  +        partial void OnRegionChanging(global::System.String value);
         3201  +        partial void OnRegionChanged();
         3202  +    
  2776   3203           /// <summary>
  2777         -        /// There are no comments for Property SupplierID in the schema.
         3204  +        /// No Metadata Documentation available.
  2778   3205           /// </summary>
  2779         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
  2780         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2781         -        public long SupplierID
         3206  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         3207  +        [DataMemberAttribute()]
         3208  +        public global::System.String PostalCode
  2782   3209           {
  2783   3210               get
  2784   3211               {
  2785         -                return this._SupplierID;
         3212  +                return _PostalCode;
  2786   3213               }
  2787   3214               set
  2788   3215               {
  2789         -                this.OnSupplierIDChanging(value);
  2790         -                this.ReportPropertyChanging("SupplierID");
  2791         -                this._SupplierID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  2792         -                this.ReportPropertyChanged("SupplierID");
  2793         -                this.OnSupplierIDChanged();
         3216  +                OnPostalCodeChanging(value);
         3217  +                ReportPropertyChanging("PostalCode");
         3218  +                _PostalCode = StructuralObject.SetValidValue(value, true);
         3219  +                ReportPropertyChanged("PostalCode");
         3220  +                OnPostalCodeChanged();
  2794   3221               }
  2795   3222           }
  2796         -        private long _SupplierID;
  2797         -        partial void OnSupplierIDChanging(long value);
  2798         -        partial void OnSupplierIDChanged();
         3223  +        private global::System.String _PostalCode;
         3224  +        partial void OnPostalCodeChanging(global::System.String value);
         3225  +        partial void OnPostalCodeChanged();
         3226  +    
  2799   3227           /// <summary>
  2800         -        /// There are no comments for Property CompanyName in the schema.
         3228  +        /// No Metadata Documentation available.
  2801   3229           /// </summary>
  2802         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
  2803         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2804         -        public string CompanyName
         3230  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         3231  +        [DataMemberAttribute()]
         3232  +        public global::System.String Country
  2805   3233           {
  2806   3234               get
  2807   3235               {
  2808         -                return this._CompanyName;
         3236  +                return _Country;
  2809   3237               }
  2810   3238               set
  2811   3239               {
  2812         -                this.OnCompanyNameChanging(value);
  2813         -                this.ReportPropertyChanging("CompanyName");
  2814         -                this._CompanyName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
  2815         -                this.ReportPropertyChanged("CompanyName");
  2816         -                this.OnCompanyNameChanged();
         3240  +                OnCountryChanging(value);
         3241  +                ReportPropertyChanging("Country");
         3242  +                _Country = StructuralObject.SetValidValue(value, true);
         3243  +                ReportPropertyChanged("Country");
         3244  +                OnCountryChanged();
  2817   3245               }
  2818   3246           }
  2819         -        private string _CompanyName;
  2820         -        partial void OnCompanyNameChanging(string value);
  2821         -        partial void OnCompanyNameChanged();
         3247  +        private global::System.String _Country;
         3248  +        partial void OnCountryChanging(global::System.String value);
         3249  +        partial void OnCountryChanged();
         3250  +    
  2822   3251           /// <summary>
  2823         -        /// There are no comments for Property ContactName in the schema.
         3252  +        /// No Metadata Documentation available.
  2824   3253           /// </summary>
  2825         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2826         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2827         -        public string ContactName
         3254  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         3255  +        [DataMemberAttribute()]
         3256  +        public global::System.String Phone
  2828   3257           {
  2829   3258               get
  2830   3259               {
  2831         -                return this._ContactName;
         3260  +                return _Phone;
  2832   3261               }
  2833   3262               set
  2834   3263               {
  2835         -                this.OnContactNameChanging(value);
  2836         -                this.ReportPropertyChanging("ContactName");
  2837         -                this._ContactName = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2838         -                this.ReportPropertyChanged("ContactName");
  2839         -                this.OnContactNameChanged();
         3264  +                OnPhoneChanging(value);
         3265  +                ReportPropertyChanging("Phone");
         3266  +                _Phone = StructuralObject.SetValidValue(value, true);
         3267  +                ReportPropertyChanged("Phone");
         3268  +                OnPhoneChanged();
  2840   3269               }
  2841   3270           }
  2842         -        private string _ContactName;
  2843         -        partial void OnContactNameChanging(string value);
  2844         -        partial void OnContactNameChanged();
         3271  +        private global::System.String _Phone;
         3272  +        partial void OnPhoneChanging(global::System.String value);
         3273  +        partial void OnPhoneChanged();
         3274  +    
  2845   3275           /// <summary>
  2846         -        /// There are no comments for Property ContactTitle in the schema.
         3276  +        /// No Metadata Documentation available.
  2847   3277           /// </summary>
  2848         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2849         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2850         -        public string ContactTitle
         3278  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         3279  +        [DataMemberAttribute()]
         3280  +        public global::System.String Fax
  2851   3281           {
  2852   3282               get
  2853   3283               {
  2854         -                return this._ContactTitle;
         3284  +                return _Fax;
  2855   3285               }
  2856   3286               set
  2857   3287               {
  2858         -                this.OnContactTitleChanging(value);
  2859         -                this.ReportPropertyChanging("ContactTitle");
  2860         -                this._ContactTitle = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2861         -                this.ReportPropertyChanged("ContactTitle");
  2862         -                this.OnContactTitleChanged();
         3288  +                OnFaxChanging(value);
         3289  +                ReportPropertyChanging("Fax");
         3290  +                _Fax = StructuralObject.SetValidValue(value, true);
         3291  +                ReportPropertyChanged("Fax");
         3292  +                OnFaxChanged();
  2863   3293               }
  2864   3294           }
  2865         -        private string _ContactTitle;
  2866         -        partial void OnContactTitleChanging(string value);
  2867         -        partial void OnContactTitleChanged();
         3295  +        private global::System.String _Fax;
         3296  +        partial void OnFaxChanging(global::System.String value);
         3297  +        partial void OnFaxChanged();
         3298  +    
  2868   3299           /// <summary>
  2869         -        /// There are no comments for Property Address in the schema.
         3300  +        /// No Metadata Documentation available.
  2870   3301           /// </summary>
  2871         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2872         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2873         -        public string Address
         3302  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
         3303  +        [DataMemberAttribute()]
         3304  +        public global::System.String HomePage
  2874   3305           {
  2875   3306               get
  2876   3307               {
  2877         -                return this._Address;
  2878         -            }
  2879         -            set
  2880         -            {
  2881         -                this.OnAddressChanging(value);
  2882         -                this.ReportPropertyChanging("Address");
  2883         -                this._Address = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2884         -                this.ReportPropertyChanged("Address");
  2885         -                this.OnAddressChanged();
  2886         -            }
  2887         -        }
  2888         -        private string _Address;
  2889         -        partial void OnAddressChanging(string value);
  2890         -        partial void OnAddressChanged();
  2891         -        /// <summary>
  2892         -        /// There are no comments for Property City in the schema.
  2893         -        /// </summary>
  2894         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2895         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2896         -        public string City
  2897         -        {
  2898         -            get
  2899         -            {
  2900         -                return this._City;
  2901         -            }
  2902         -            set
  2903         -            {
  2904         -                this.OnCityChanging(value);
  2905         -                this.ReportPropertyChanging("City");
  2906         -                this._City = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2907         -                this.ReportPropertyChanged("City");
  2908         -                this.OnCityChanged();
  2909         -            }
  2910         -        }
  2911         -        private string _City;
  2912         -        partial void OnCityChanging(string value);
  2913         -        partial void OnCityChanged();
  2914         -        /// <summary>
  2915         -        /// There are no comments for Property Region in the schema.
  2916         -        /// </summary>
  2917         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2918         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2919         -        public string Region
  2920         -        {
  2921         -            get
  2922         -            {
  2923         -                return this._Region;
         3308  +                return _HomePage;
  2924   3309               }
  2925   3310               set
  2926   3311               {
  2927         -                this.OnRegionChanging(value);
  2928         -                this.ReportPropertyChanging("Region");
  2929         -                this._Region = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2930         -                this.ReportPropertyChanged("Region");
  2931         -                this.OnRegionChanged();
         3312  +                OnHomePageChanging(value);
         3313  +                ReportPropertyChanging("HomePage");
         3314  +                _HomePage = StructuralObject.SetValidValue(value, true);
         3315  +                ReportPropertyChanged("HomePage");
         3316  +                OnHomePageChanged();
  2932   3317               }
  2933   3318           }
  2934         -        private string _Region;
  2935         -        partial void OnRegionChanging(string value);
  2936         -        partial void OnRegionChanged();
         3319  +        private global::System.String _HomePage;
         3320  +        partial void OnHomePageChanging(global::System.String value);
         3321  +        partial void OnHomePageChanged();
         3322  +
         3323  +        #endregion
         3324  +    
         3325  +        #region Navigation Properties
         3326  +    
  2937   3327           /// <summary>
  2938         -        /// There are no comments for Property PostalCode in the schema.
         3328  +        /// No Metadata Documentation available.
  2939   3329           /// </summary>
  2940         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2941         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2942         -        public string PostalCode
  2943         -        {
  2944         -            get
  2945         -            {
  2946         -                return this._PostalCode;
  2947         -            }
  2948         -            set
  2949         -            {
  2950         -                this.OnPostalCodeChanging(value);
  2951         -                this.ReportPropertyChanging("PostalCode");
  2952         -                this._PostalCode = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2953         -                this.ReportPropertyChanged("PostalCode");
  2954         -                this.OnPostalCodeChanged();
  2955         -            }
  2956         -        }
  2957         -        private string _PostalCode;
  2958         -        partial void OnPostalCodeChanging(string value);
  2959         -        partial void OnPostalCodeChanged();
  2960         -        /// <summary>
  2961         -        /// There are no comments for Property Country in the schema.
  2962         -        /// </summary>
  2963         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2964         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2965         -        public string Country
         3330  +        [XmlIgnoreAttribute()]
         3331  +        [SoapIgnoreAttribute()]
         3332  +        [DataMemberAttribute()]
         3333  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Products_SupplierID_SupplierID", "Products")]
         3334  +        public EntityCollection<Products> Products
  2966   3335           {
  2967   3336               get
  2968   3337               {
  2969         -                return this._Country;
  2970         -            }
  2971         -            set
  2972         -            {
  2973         -                this.OnCountryChanging(value);
  2974         -                this.ReportPropertyChanging("Country");
  2975         -                this._Country = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2976         -                this.ReportPropertyChanged("Country");
  2977         -                this.OnCountryChanged();
  2978         -            }
  2979         -        }
  2980         -        private string _Country;
  2981         -        partial void OnCountryChanging(string value);
  2982         -        partial void OnCountryChanged();
  2983         -        /// <summary>
  2984         -        /// There are no comments for Property Phone in the schema.
  2985         -        /// </summary>
  2986         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  2987         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  2988         -        public string Phone
  2989         -        {
  2990         -            get
  2991         -            {
  2992         -                return this._Phone;
  2993         -            }
  2994         -            set
  2995         -            {
  2996         -                this.OnPhoneChanging(value);
  2997         -                this.ReportPropertyChanging("Phone");
  2998         -                this._Phone = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  2999         -                this.ReportPropertyChanged("Phone");
  3000         -                this.OnPhoneChanged();
  3001         -            }
  3002         -        }
  3003         -        private string _Phone;
  3004         -        partial void OnPhoneChanging(string value);
  3005         -        partial void OnPhoneChanged();
  3006         -        /// <summary>
  3007         -        /// There are no comments for Property Fax in the schema.
  3008         -        /// </summary>
  3009         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  3010         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  3011         -        public string Fax
  3012         -        {
  3013         -            get
  3014         -            {
  3015         -                return this._Fax;
  3016         -            }
  3017         -            set
  3018         -            {
  3019         -                this.OnFaxChanging(value);
  3020         -                this.ReportPropertyChanging("Fax");
  3021         -                this._Fax = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  3022         -                this.ReportPropertyChanged("Fax");
  3023         -                this.OnFaxChanged();
  3024         -            }
  3025         -        }
  3026         -        private string _Fax;
  3027         -        partial void OnFaxChanging(string value);
  3028         -        partial void OnFaxChanged();
  3029         -        /// <summary>
  3030         -        /// There are no comments for Property HomePage in the schema.
  3031         -        /// </summary>
  3032         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute()]
  3033         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  3034         -        public string HomePage
  3035         -        {
  3036         -            get
  3037         -            {
  3038         -                return this._HomePage;
  3039         -            }
  3040         -            set
  3041         -            {
  3042         -                this.OnHomePageChanging(value);
  3043         -                this.ReportPropertyChanging("HomePage");
  3044         -                this._HomePage = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, true);
  3045         -                this.ReportPropertyChanged("HomePage");
  3046         -                this.OnHomePageChanged();
  3047         -            }
  3048         -        }
  3049         -        private string _HomePage;
  3050         -        partial void OnHomePageChanging(string value);
  3051         -        partial void OnHomePageChanged();
  3052         -        /// <summary>
  3053         -        /// There are no comments for Products in the schema.
  3054         -        /// </summary>
  3055         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Products_SupplierID_SupplierID", "Products")]
  3056         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  3057         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  3058         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  3059         -        public global::System.Data.Objects.DataClasses.EntityCollection<Products> Products
  3060         -        {
  3061         -            get
  3062         -            {
  3063         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Products>("northwindEFModel.FK_Products_SupplierID_SupplierID", "Products");
         3338  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Products>("northwindEFModel.FK_Products_SupplierID_SupplierID", "Products");
  3064   3339               }
  3065   3340               set
  3066   3341               {
  3067   3342                   if ((value != null))
  3068   3343                   {
  3069         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Products>("northwindEFModel.FK_Products_SupplierID_SupplierID", "Products", value);
         3344  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection<Products>("northwindEFModel.FK_Products_SupplierID_SupplierID", "Products", value);
  3070   3345                   }
  3071   3346               }
  3072   3347           }
         3348  +
         3349  +        #endregion
  3073   3350       }
         3351  +    
  3074   3352       /// <summary>
  3075         -    /// There are no comments for northwindEFModel.Territories in the schema.
         3353  +    /// No Metadata Documentation available.
  3076   3354       /// </summary>
  3077         -    /// <KeyProperties>
  3078         -    /// TerritoryID
  3079         -    /// </KeyProperties>
  3080         -    [global::System.Data.Objects.DataClasses.EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Territories")]
  3081         -    [global::System.Runtime.Serialization.DataContractAttribute(IsReference=true)]
  3082         -    [global::System.Serializable()]
  3083         -    public partial class Territories : global::System.Data.Objects.DataClasses.EntityObject
         3355  +    [EdmEntityTypeAttribute(NamespaceName="northwindEFModel", Name="Territories")]
         3356  +    [Serializable()]
         3357  +    [DataContractAttribute(IsReference=true)]
         3358  +    public partial class Territories : EntityObject
  3084   3359       {
         3360  +        #region Factory Method
         3361  +    
  3085   3362           /// <summary>
  3086   3363           /// Create a new Territories object.
  3087   3364           /// </summary>
  3088         -        /// <param name="territoryID">Initial value of TerritoryID.</param>
  3089         -        /// <param name="territoryDescription">Initial value of TerritoryDescription.</param>
  3090         -        public static Territories CreateTerritories(long territoryID, string territoryDescription)
         3365  +        /// <param name="territoryID">Initial value of the TerritoryID property.</param>
         3366  +        /// <param name="territoryDescription">Initial value of the TerritoryDescription property.</param>
         3367  +        public static Territories CreateTerritories(global::System.Int64 territoryID, global::System.String territoryDescription)
  3091   3368           {
  3092   3369               Territories territories = new Territories();
  3093   3370               territories.TerritoryID = territoryID;
  3094   3371               territories.TerritoryDescription = territoryDescription;
  3095   3372               return territories;
  3096   3373           }
         3374  +
         3375  +        #endregion
         3376  +        #region Primitive Properties
         3377  +    
  3097   3378           /// <summary>
  3098         -        /// There are no comments for Property TerritoryID in the schema.
         3379  +        /// No Metadata Documentation available.
  3099   3380           /// </summary>
  3100         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
  3101         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  3102         -        public long TerritoryID
         3381  +        [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
         3382  +        [DataMemberAttribute()]
         3383  +        public global::System.Int64 TerritoryID
  3103   3384           {
  3104   3385               get
  3105   3386               {
  3106         -                return this._TerritoryID;
         3387  +                return _TerritoryID;
  3107   3388               }
  3108   3389               set
  3109   3390               {
  3110         -                this.OnTerritoryIDChanging(value);
  3111         -                this.ReportPropertyChanging("TerritoryID");
  3112         -                this._TerritoryID = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value);
  3113         -                this.ReportPropertyChanged("TerritoryID");
  3114         -                this.OnTerritoryIDChanged();
         3391  +                if (_TerritoryID != value)
         3392  +                {
         3393  +                    OnTerritoryIDChanging(value);
         3394  +                    ReportPropertyChanging("TerritoryID");
         3395  +                    _TerritoryID = StructuralObject.SetValidValue(value);
         3396  +                    ReportPropertyChanged("TerritoryID");
         3397  +                    OnTerritoryIDChanged();
         3398  +                }
  3115   3399               }
  3116   3400           }
  3117         -        private long _TerritoryID;
  3118         -        partial void OnTerritoryIDChanging(long value);
         3401  +        private global::System.Int64 _TerritoryID;
         3402  +        partial void OnTerritoryIDChanging(global::System.Int64 value);
  3119   3403           partial void OnTerritoryIDChanged();
         3404  +    
  3120   3405           /// <summary>
  3121         -        /// There are no comments for Property TerritoryDescription in the schema.
         3406  +        /// No Metadata Documentation available.
  3122   3407           /// </summary>
  3123         -        [global::System.Data.Objects.DataClasses.EdmScalarPropertyAttribute(IsNullable=false)]
  3124         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  3125         -        public string TerritoryDescription
         3408  +        [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
         3409  +        [DataMemberAttribute()]
         3410  +        public global::System.String TerritoryDescription
  3126   3411           {
  3127   3412               get
  3128   3413               {
  3129         -                return this._TerritoryDescription;
         3414  +                return _TerritoryDescription;
  3130   3415               }
  3131   3416               set
  3132   3417               {
  3133         -                this.OnTerritoryDescriptionChanging(value);
  3134         -                this.ReportPropertyChanging("TerritoryDescription");
  3135         -                this._TerritoryDescription = global::System.Data.Objects.DataClasses.StructuralObject.SetValidValue(value, false);
  3136         -                this.ReportPropertyChanged("TerritoryDescription");
  3137         -                this.OnTerritoryDescriptionChanged();
         3418  +                OnTerritoryDescriptionChanging(value);
         3419  +                ReportPropertyChanging("TerritoryDescription");
         3420  +                _TerritoryDescription = StructuralObject.SetValidValue(value, false);
         3421  +                ReportPropertyChanged("TerritoryDescription");
         3422  +                OnTerritoryDescriptionChanged();
  3138   3423               }
  3139   3424           }
  3140         -        private string _TerritoryDescription;
  3141         -        partial void OnTerritoryDescriptionChanging(string value);
         3425  +        private global::System.String _TerritoryDescription;
         3426  +        partial void OnTerritoryDescriptionChanging(global::System.String value);
  3142   3427           partial void OnTerritoryDescriptionChanged();
         3428  +
         3429  +        #endregion
         3430  +    
         3431  +        #region Navigation Properties
         3432  +    
  3143   3433           /// <summary>
  3144         -        /// There are no comments for Regions in the schema.
         3434  +        /// No Metadata Documentation available.
  3145   3435           /// </summary>
  3146         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Territories_RegionID_RegionID", "Regions")]
  3147         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  3148         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  3149         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
         3436  +        [XmlIgnoreAttribute()]
         3437  +        [SoapIgnoreAttribute()]
         3438  +        [DataMemberAttribute()]
         3439  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "FK_Territories_RegionID_RegionID", "Regions")]
  3150   3440           public Regions Regions
  3151   3441           {
  3152   3442               get
  3153   3443               {
  3154         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Regions>("northwindEFModel.FK_Territories_RegionID_RegionID", "Regions").Value;
         3444  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Regions>("northwindEFModel.FK_Territories_RegionID_RegionID", "Regions").Value;
         3445  +            }
         3446  +            set
         3447  +            {
         3448  +                ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Regions>("northwindEFModel.FK_Territories_RegionID_RegionID", "Regions").Value = value;
         3449  +            }
         3450  +        }
         3451  +        /// <summary>
         3452  +        /// No Metadata Documentation available.
         3453  +        /// </summary>
         3454  +        [BrowsableAttribute(false)]
         3455  +        [DataMemberAttribute()]
         3456  +        public EntityReference<Regions> RegionsReference
         3457  +        {
         3458  +            get
         3459  +            {
         3460  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedReference<Regions>("northwindEFModel.FK_Territories_RegionID_RegionID", "Regions");
  3155   3461               }
  3156   3462               set
  3157   3463               {
  3158         -                ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Regions>("northwindEFModel.FK_Territories_RegionID_RegionID", "Regions").Value = value;
         3464  +                if ((value != null))
         3465  +                {
         3466  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedReference<Regions>("northwindEFModel.FK_Territories_RegionID_RegionID", "Regions", value);
         3467  +                }
  3159   3468               }
  3160   3469           }
         3470  +    
  3161   3471           /// <summary>
  3162         -        /// There are no comments for Regions in the schema.
         3472  +        /// No Metadata Documentation available.
  3163   3473           /// </summary>
  3164         -        [global::System.ComponentModel.BrowsableAttribute(false)]
  3165         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  3166         -        public global::System.Data.Objects.DataClasses.EntityReference<Regions> RegionsReference
         3474  +        [XmlIgnoreAttribute()]
         3475  +        [SoapIgnoreAttribute()]
         3476  +        [DataMemberAttribute()]
         3477  +        [EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "EmployeesTerritories", "Employees")]
         3478  +        public EntityCollection<Employees> Employees
  3167   3479           {
  3168   3480               get
  3169   3481               {
  3170         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedReference<Regions>("northwindEFModel.FK_Territories_RegionID_RegionID", "Regions");
         3482  +                return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<Employees>("northwindEFModel.EmployeesTerritories", "Employees");
  3171   3483               }
  3172   3484               set
  3173   3485               {
  3174   3486                   if ((value != null))
  3175   3487                   {
  3176         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedReference<Regions>("northwindEFModel.FK_Territories_RegionID_RegionID", "Regions", value);
         3488  +                    ((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection<Employees>("northwindEFModel.EmployeesTerritories", "Employees", value);
  3177   3489                   }
  3178   3490               }
  3179   3491           }
  3180         -        /// <summary>
  3181         -        /// There are no comments for Employees in the schema.
  3182         -        /// </summary>
  3183         -        [global::System.Data.Objects.DataClasses.EdmRelationshipNavigationPropertyAttribute("northwindEFModel", "EmployeesTerritories", "Employees")]
  3184         -        [global::System.Xml.Serialization.XmlIgnoreAttribute()]
  3185         -        [global::System.Xml.Serialization.SoapIgnoreAttribute()]
  3186         -        [global::System.Runtime.Serialization.DataMemberAttribute()]
  3187         -        public global::System.Data.Objects.DataClasses.EntityCollection<Employees> Employees
  3188         -        {
  3189         -            get
  3190         -            {
  3191         -                return ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.GetRelatedCollection<Employees>("northwindEFModel.EmployeesTerritories", "Employees");
  3192         -            }
  3193         -            set
  3194         -            {
  3195         -                if ((value != null))
  3196         -                {
  3197         -                    ((global::System.Data.Objects.DataClasses.IEntityWithRelationships)(this)).RelationshipManager.InitializeRelatedCollection<Employees>("northwindEFModel.EmployeesTerritories", "Employees", value);
  3198         -                }
  3199         -            }
  3200         -        }
         3492  +
         3493  +        #endregion
  3201   3494       }
         3495  +
         3496  +    #endregion
         3497  +    
  3202   3498   }

Changes to testlinq/NorthwindModel.edmx.

     1      1   <?xml version="1.0" encoding="utf-8"?>
     2         -<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx">
            2  +<edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx">
     3      3     <!-- EF Runtime content -->
     4      4     <edmx:Runtime>
     5      5       <!-- SSDL content -->
     6      6       <edmx:StorageModels>
     7         -    <Schema Namespace="northwindEFModel.Store" Alias="Self" Provider="System.Data.SQLite" ProviderManifestToken="ISO8601" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2006/04/edm/ssdl">
            7  +    <Schema Namespace="northwindEFModel.Store" Alias="Self" Provider="System.Data.SQLite" ProviderManifestToken="ISO8601" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
     8      8           <EntityContainer Name="northwindEFModelStoreContainer">
     9         -          <EntitySet Name="Categories" EntityType="northwindEFModel.Store.Categories" store:Type="Tables" />
    10         -          <EntitySet Name="Customers" EntityType="northwindEFModel.Store.Customers" store:Type="Tables" />
    11         -          <EntitySet Name="Employees" EntityType="northwindEFModel.Store.Employees" store:Type="Tables" />
    12         -          <EntitySet Name="EmployeesTerritories" EntityType="northwindEFModel.Store.EmployeesTerritories" store:Type="Tables" />
    13         -          <EntitySet Name="InternationalOrders" EntityType="northwindEFModel.Store.InternationalOrders" store:Type="Tables" />
    14         -          <EntitySet Name="OrderDetails" EntityType="northwindEFModel.Store.OrderDetails" store:Type="Tables" />
    15         -          <EntitySet Name="Orders" EntityType="northwindEFModel.Store.Orders" store:Type="Tables" />
    16         -          <EntitySet Name="PreviousEmployees" EntityType="northwindEFModel.Store.PreviousEmployees" store:Type="Tables" />
    17         -          <EntitySet Name="Products" EntityType="northwindEFModel.Store.Products" store:Type="Tables" />
    18         -          <EntitySet Name="Regions" EntityType="northwindEFModel.Store.Regions" store:Type="Tables" />
    19         -          <EntitySet Name="Suppliers" EntityType="northwindEFModel.Store.Suppliers" store:Type="Tables" />
    20         -          <EntitySet Name="Territories" EntityType="northwindEFModel.Store.Territories" store:Type="Tables" />
            9  +          <EntitySet Name="Categories" EntityType="northwindEFModel.Store.Categories" store:Type="Tables" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
           10  +          <EntitySet Name="Customers" EntityType="northwindEFModel.Store.Customers" store:Type="Tables" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
           11  +          <EntitySet Name="Employees" EntityType="northwindEFModel.Store.Employees" store:Type="Tables" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
           12  +          <EntitySet Name="EmployeesTerritories" EntityType="northwindEFModel.Store.EmployeesTerritories" store:Type="Tables" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
           13  +          <EntitySet Name="InternationalOrders" EntityType="northwindEFModel.Store.InternationalOrders" store:Type="Tables" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
           14  +          <EntitySet Name="OrderDetails" EntityType="northwindEFModel.Store.OrderDetails" store:Type="Tables" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
           15  +          <EntitySet Name="Orders" EntityType="northwindEFModel.Store.Orders" store:Type="Tables" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
           16  +          <EntitySet Name="PreviousEmployees" EntityType="northwindEFModel.Store.PreviousEmployees" store:Type="Tables" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
           17  +          <EntitySet Name="Products" EntityType="northwindEFModel.Store.Products" store:Type="Tables" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
           18  +          <EntitySet Name="Regions" EntityType="northwindEFModel.Store.Regions" store:Type="Tables" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
           19  +          <EntitySet Name="Suppliers" EntityType="northwindEFModel.Store.Suppliers" store:Type="Tables" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
           20  +          <EntitySet Name="Territories" EntityType="northwindEFModel.Store.Territories" store:Type="Tables" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" />
    21     21             <AssociationSet Name="FK_EmployeesTerritories_EmployeeID_EmployeeID" Association="northwindEFModel.Store.FK_EmployeesTerritories_EmployeeID_EmployeeID">
    22     22               <End Role="Employees" EntitySet="Employees" />
    23     23               <End Role="EmployeesTerritories" EntitySet="EmployeesTerritories" />
    24     24             </AssociationSet>
    25     25             <AssociationSet Name="FK_EmployeesTerritories_TerritoryID_TerritoryID" Association="northwindEFModel.Store.FK_EmployeesTerritories_TerritoryID_TerritoryID">
    26     26               <End Role="Territories" EntitySet="Territories" />
    27     27               <End Role="EmployeesTerritories" EntitySet="EmployeesTerritories" />
................................................................................
   324    324                 <PropertyRef Name="RegionID" />
   325    325               </Dependent>
   326    326             </ReferentialConstraint>
   327    327           </Association>
   328    328         </Schema></edmx:StorageModels>
   329    329       <!-- CSDL content -->
   330    330       <edmx:ConceptualModels>
   331         -      <Schema Namespace="northwindEFModel" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2006/04/edm">
          331  +      <Schema Namespace="northwindEFModel" Alias="Self" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">
   332    332           <EntityContainer Name="northwindEFEntities">
   333    333             <EntitySet Name="Categories" EntityType="northwindEFModel.Categories" />
   334    334             <EntitySet Name="Customers" EntityType="northwindEFModel.Customers" />
   335    335             <EntitySet Name="Employees" EntityType="northwindEFModel.Employees" />
   336    336             <EntitySet Name="InternationalOrders" EntityType="northwindEFModel.InternationalOrders" />
   337    337             <EntitySet Name="OrderDetails" EntityType="northwindEFModel.OrderDetails" />
   338    338             <EntitySet Name="Orders" EntityType="northwindEFModel.Orders" />
................................................................................
   596    596             <End Role="Employees" Type="northwindEFModel.Employees" Multiplicity="*" />
   597    597             <End Role="Territories" Type="northwindEFModel.Territories" Multiplicity="*" />
   598    598           </Association>
   599    599           </Schema>
   600    600       </edmx:ConceptualModels>
   601    601       <!-- C-S mapping content -->
   602    602       <edmx:Mappings>
   603         -      <Mapping Space="C-S" xmlns="urn:schemas-microsoft-com:windows:storage:mapping:CS">
          603  +      <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs">
   604    604           <EntityContainerMapping StorageEntityContainer="northwindEFModelStoreContainer" CdmEntityContainer="northwindEFEntities">
   605    605             <EntitySetMapping Name="Categories">
   606    606               <EntityTypeMapping TypeName="IsTypeOf(northwindEFModel.Categories)">
   607    607                 <MappingFragment StoreEntitySet="Categories">
   608    608                   <ScalarProperty Name="CategoryID" ColumnName="CategoryID" />
   609    609                   <ScalarProperty Name="CategoryName" ColumnName="CategoryName" />
   610    610                   <ScalarProperty Name="Description" ColumnName="Description" />
................................................................................
   832    832               </EndProperty>
   833    833             </AssociationSetMapping>
   834    834             </EntityContainerMapping>
   835    835         </Mapping>
   836    836       </edmx:Mappings>
   837    837     </edmx:Runtime>
   838    838     <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
   839         -  <edmx:Designer xmlns="http://schemas.microsoft.com/ado/2007/06/edmx">
          839  +  <edmx:Designer>
   840    840       <edmx:Connection>
   841         -      <DesignerInfoPropertySet>
          841  +      <DesignerInfoPropertySet xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
   842    842           <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
   843    843         </DesignerInfoPropertySet>
   844    844       </edmx:Connection>
   845    845       <edmx:Options>
   846         -      <DesignerInfoPropertySet>
          846  +      <DesignerInfoPropertySet xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
   847    847           <DesignerProperty Name="ValidateOnBuild" Value="true" />
   848    848         </DesignerInfoPropertySet>
   849    849       </edmx:Options>
   850    850       <!-- Diagram content (shape and connector positions) -->
   851    851       <edmx:Diagrams>
   852         -      <Diagram Name="NorthwindModel">
          852  +      <Diagram Name="NorthwindModel" xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
   853    853           <EntityTypeShape EntityType="northwindEFModel.Categories" Width="1.5" PointX="0.75" PointY="1.625" Height="1.9802864583333335" IsExpanded="true" />
   854    854           <EntityTypeShape EntityType="northwindEFModel.Customers" Width="1.5" PointX="0.75" PointY="9.625" Height="3.3263964843749996" IsExpanded="true" />
   855    855           <EntityTypeShape EntityType="northwindEFModel.Employees" Width="1.5" PointX="2.75" PointY="14.625" Height="4.4802050781250014" IsExpanded="true" />
   856    856           <EntityTypeShape EntityType="northwindEFModel.InternationalOrders" Width="1.5" PointX="5.25" PointY="10.375" Height="1.7879850260416674" IsExpanded="true" />
   857    857           <EntityTypeShape EntityType="northwindEFModel.OrderDetails" Width="1.5" PointX="5.25" PointY="1.5" Height="2.3648893229166656" IsExpanded="true" />
   858    858           <EntityTypeShape EntityType="northwindEFModel.Orders" Width="1.5" PointX="3" PointY="9.25" Height="3.9033007812499996" IsExpanded="true" />
   859    859           <EntityTypeShape EntityType="northwindEFModel.PreviousEmployees" Width="1.5" PointX="7.75" PointY="0.75" Height="4.2879036458333317" IsExpanded="true" />

Changes to testlinq/northwindEF.db.

cannot compute difference between binary files

Changes to testlinq/testlinq.csproj.

     1      1   <?xml version="1.0" encoding="utf-8"?>
     2         -<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
            2  +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     3      3     <PropertyGroup>
     4      4       <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     5      5       <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     6      6       <ProductVersion>9.0.30729</ProductVersion>
     7      7       <SchemaVersion>2.0</SchemaVersion>
     8      8       <ProjectGuid>{9D3CF7A6-092A-4B05-B0E4-BEF6944525B3}</ProjectGuid>
     9      9       <OutputType>Exe</OutputType>
    10     10       <AppDesignerFolder>Properties</AppDesignerFolder>
    11     11       <RootNamespace>testlinq</RootNamespace>
    12     12       <AssemblyName>testlinq</AssemblyName>
    13         -    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
           13  +    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    14     14       <FileAlignment>512</FileAlignment>
           15  +    <FileUpgradeFlags>
           16  +    </FileUpgradeFlags>
           17  +    <OldToolsVersion>3.5</OldToolsVersion>
           18  +    <UpgradeBackupLocation />
           19  +    <PublishUrl>publish\</PublishUrl>
           20  +    <Install>true</Install>
           21  +    <InstallFrom>Disk</InstallFrom>
           22  +    <UpdateEnabled>false</UpdateEnabled>
           23  +    <UpdateMode>Foreground</UpdateMode>
           24  +    <UpdateInterval>7</UpdateInterval>
           25  +    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
           26  +    <UpdatePeriodically>false</UpdatePeriodically>
           27  +    <UpdateRequired>false</UpdateRequired>
           28  +    <MapFileExtensions>true</MapFileExtensions>
           29  +    <ApplicationRevision>0</ApplicationRevision>
           30  +    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
           31  +    <IsWebBootstrapper>false</IsWebBootstrapper>
           32  +    <UseApplicationTrust>false</UseApplicationTrust>
           33  +    <BootstrapperEnabled>true</BootstrapperEnabled>
           34  +    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
    15     35     </PropertyGroup>
    16     36     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    17     37       <DebugSymbols>true</DebugSymbols>
    18     38       <DebugType>full</DebugType>
    19     39       <Optimize>false</Optimize>
    20     40       <OutputPath>bin\</OutputPath>
    21     41       <DefineConstants>DEBUG;TRACE</DefineConstants>
    22     42       <ErrorReport>prompt</ErrorReport>
    23     43       <WarningLevel>4</WarningLevel>
    24     44       <PlatformTarget>x86</PlatformTarget>
    25     45       <UseVSHostingProcess>false</UseVSHostingProcess>
           46  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    26     47     </PropertyGroup>
    27     48     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    28     49       <DebugType>pdbonly</DebugType>
    29     50       <Optimize>true</Optimize>
    30     51       <OutputPath>bin\</OutputPath>
    31     52       <DefineConstants>TRACE</DefineConstants>
    32     53       <ErrorReport>prompt</ErrorReport>
    33     54       <WarningLevel>4</WarningLevel>
    34     55       <UseVSHostingProcess>false</UseVSHostingProcess>
           56  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    35     57     </PropertyGroup>
    36     58     <ItemGroup>
    37     59       <Reference Include="System" />
    38     60       <Reference Include="System.Core">
    39     61         <RequiredTargetFramework>3.5</RequiredTargetFramework>
    40     62       </Reference>
    41     63       <Reference Include="System.Data.Entity">
................................................................................
    73     95         <Generator>EntityModelCodeGenerator</Generator>
    74     96         <LastGenOutput>NorthwindModel.Designer.cs</LastGenOutput>
    75     97       </EntityDeploy>
    76     98     </ItemGroup>
    77     99     <ItemGroup>
    78    100       <Service Include="{C8F2D6AC-F9F4-4E40-A399-22F9A9A5CBD2}" />
    79    101     </ItemGroup>
          102  +  <ItemGroup>
          103  +    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
          104  +      <Visible>False</Visible>
          105  +      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
          106  +      <Install>false</Install>
          107  +    </BootstrapperPackage>
          108  +    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
          109  +      <Visible>False</Visible>
          110  +      <ProductName>.NET Framework 3.5 SP1</ProductName>
          111  +      <Install>true</Install>
          112  +    </BootstrapperPackage>
          113  +    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
          114  +      <Visible>False</Visible>
          115  +      <ProductName>Windows Installer 3.1</ProductName>
          116  +      <Install>true</Install>
          117  +    </BootstrapperPackage>
          118  +  </ItemGroup>
    80    119     <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    81    120     <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
    82    121          Other similar extension points exist, see Microsoft.Common.targets.
    83    122     <Target Name="BeforeBuild">
    84    123     </Target>
    85    124     <Target Name="AfterBuild">
    86    125     </Target>
    87    126     -->
    88    127   </Project>

Changes to testlinq/testlinq.csproj.user.

     1         -<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
     2         -  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     3         -    <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
     4         -  </PropertyGroup>
     5         -  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     6         -    <StartWorkingDirectory>
     7         -    </StartWorkingDirectory>
     8         -    <EnableUnmanagedDebugging>true</EnableUnmanagedDebugging>
            1  +<?xml version="1.0" encoding="utf-8"?>
            2  +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
            3  +  <PropertyGroup>
            4  +    <PublishUrlHistory />
            5  +    <InstallUrlHistory />
            6  +    <SupportUrlHistory />
            7  +    <UpdateUrlHistory />
            8  +    <BootstrapperUrlHistory />
            9  +    <ErrorReportUrlHistory />
           10  +    <FallbackCulture>en-US</FallbackCulture>
           11  +    <VerifyUploadedFiles>false</VerifyUploadedFiles>
     9     12     </PropertyGroup>
    10     13   </Project>

Changes to tools/install/InstallDesigner.cs.

    25     25       private static Guid standardDataProviderGuid = new Guid("{0EBAAB6E-CA80-4b4a-8DDF-CBE6BF058C70}");
    26     26       private static Guid standardDataSourcesGuid = new Guid("{0EBAAB6E-CA80-4b4a-8DDF-CBE6BF058C71}");
    27     27       private static Guid standardCFDataSourcesGuid = new Guid("{0EBAAB6E-CA80-4b4a-8DDF-CBE6BF058C72}");
    28     28       private static Guid oledbDataProviderGuid = new Guid("{7F041D59-D76A-44ed-9AA2-FBF6B0548B80}");
    29     29       private static Guid oledbAltDataProviderGuid = new Guid("{7F041D59-D76A-44ed-9AA2-FBF6B0548B81}");
    30     30       private static Guid jetDataSourcesGuid = new Guid("{466CE797-67A4-4495-B75C-A3FD282E7FC3}");
    31     31       private static Guid jetAltDataSourcesGuid = new Guid("{466CE797-67A4-4495-B75C-A3FD282E7FC4}");
    32         -    private static string[] compactFrameworks = new string[] { "PocketPC", "SmartPhone", "WindowsCE" };
           32  +    private static string[] compactFrameworks = new string[] { /*"PocketPC", "SmartPhone", "WindowsCE"*/ };
    33     33   
    34     34       internal bool _remove = false;
    35     35       //private string _regRoot = "8.0";
    36     36       private System.Reflection.Assembly _assm = null;
    37     37       private bool _ignoreChecks = true;
    38     38       private string _assmLocation;
    39     39   
................................................................................
    99     99   
   100    100       public InstallDesigner()
   101    101       {
   102    102         string[] args = Environment.GetCommandLineArgs();
   103    103         RegistryKey key;
   104    104         string frameworkpath;
   105    105   
   106         -      _regRoots.Add("8.0", "2005");
   107         -      _regRoots.Add("9.0", "2008");
          106  +      //_regRoots.Add("8.0", "2005");
          107  +      //_regRoots.Add("9.0", "2008");
   108    108         _regRoots.Add("10.0", "2010");
   109    109   
   110    110         using (key = Registry.LocalMachine.OpenSubKey("Software\\Microsoft\\.NETFramework"))
   111    111         {
   112    112           frameworkpath = key.GetValue("InstallRoot") as string;
   113    113         }
   114    114   
   115    115         string[] frameworkfolders = Directory.GetDirectories(frameworkpath);
   116    116         foreach (string framework in frameworkfolders)
   117    117         {
   118         -        // Don't do this on frameworks before 2.0
          118  +        // Don't do this on frameworks before 4.0
   119    119           string version = Path.GetFileNameWithoutExtension(framework);
   120         -        if (String.Compare(version, "v2.0", StringComparison.OrdinalIgnoreCase) < 0)
          120  +        if (String.Compare(version, "v4.0", StringComparison.OrdinalIgnoreCase) < 0)
   121    121             continue;
   122    122   
   123    123           if (File.Exists(Path.Combine(framework, "CONFIG\\machine.config")))
   124    124             _frameworks.Add(Path.GetFileName(framework));
   125    125         }
   126    126   
   127    127         for (int n = 0; n < args.Length; n++)
................................................................................
   397    397           try
   398    398           {
   399    399             foreach (string framework in _frameworks)
   400    400             {
   401    401               Registry.LocalMachine.DeleteSubKey(String.Format("Software\\Microsoft\\.NETFramework\\{0}\\AssemblyFoldersEx\\SQLite", framework));
   402    402             }
   403    403   
   404         -          string[] versions = { "v2.0.0.0", "v3.5.0.0" };
          404  +          string[] versions = { /*"v2.0.0.0", "v3.5.0.0"*/ };
   405    405             for (int x = 0; x < versions.Length; x++)
   406    406             {
   407    407               for (int n = 0; n < compactFrameworks.Length; n++)
   408    408               {
   409    409                 using (RegistryKey key = Registry.LocalMachine.OpenSubKey(String.Format("Software\\Microsoft\\.NETCompactFramework\\{1}\\{0}\\DataProviders", compactFrameworks[n], versions[x]), true))
   410    410                 {
   411    411                   try
................................................................................
   682    682         //    }
   683    683         //  }
   684    684         //}
   685    685         //catch
   686    686         //{
   687    687         //}
   688    688   
   689         -      string[] versions = { "v2.0.0.0", "v3.5.0.0" };
          689  +      string[] versions = { /*"v2.0.0.0", "v3.5.0.0"*/ };
   690    690   
   691    691         for (int x = 0; x < versions.Length; x++)
   692    692         {
   693    693           for (int n = 0; n < compactFrameworks.Length; n++)
   694    694           {
   695    695             using (RegistryKey key = Registry.LocalMachine.CreateSubKey(String.Format("Software\\Microsoft\\.NETCompactFramework\\{1}\\{0}\\DataProviders", compactFrameworks[n], versions[x])))
   696    696             {

Changes to tools/install/Properties/AssemblyInfo.cs.

     2      2   using System.Runtime.CompilerServices;
     3      3   using System.Runtime.InteropServices;
     4      4   
     5      5   // General Information about an assembly is controlled through the following 
     6      6   // set of attributes. Change these attribute values to modify the information
     7      7   // associated with an assembly.
     8      8   [assembly: AssemblyTitle("SQLite Installer")]
     9         -[assembly: AssemblyDescription("SQLite ADO.NET 2.0 Design-Time Installer")]
            9  +[assembly: AssemblyDescription("SQLite ADO.NET 4.0 Design-Time Installer")]
    10     10   [assembly: AssemblyConfiguration("")]
    11     11   [assembly: AssemblyCompany("http://sqlite.phxsoftware.com")]
    12     12   [assembly: AssemblyProduct("SQLite Installer")]
    13     13   [assembly: AssemblyCopyright("Public Domain")]
    14     14   [assembly: AssemblyTrademark("")]
    15     15   [assembly: AssemblyCulture("")]
    16     16   

Changes to tools/install/Properties/Resources.Designer.cs.

     1      1   //------------------------------------------------------------------------------
     2      2   // <auto-generated>
     3      3   //     This code was generated by a tool.
     4         -//     Runtime Version:2.0.50727.3053
            4  +//     Runtime Version:4.0.30319.1
     5      5   //
     6      6   //     Changes to this file may cause incorrect behavior and will be lost if
     7      7   //     the code is regenerated.
     8      8   // </auto-generated>
     9      9   //------------------------------------------------------------------------------
    10     10   
    11     11   namespace install.Properties {
................................................................................
    15     15       /// <summary>
    16     16       ///   A strongly-typed resource class, for looking up localized strings, etc.
    17     17       /// </summary>
    18     18       // This class was auto-generated by the StronglyTypedResourceBuilder
    19     19       // class via a tool like ResGen or Visual Studio.
    20     20       // To add or remove a member, edit your .ResX file then rerun ResGen
    21     21       // with the /str option, or rebuild your VS project.
    22         -    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
           22  +    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
    23     23       [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    24     24       [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    25     25       internal class Resources {
    26     26           
    27     27           private static global::System.Resources.ResourceManager resourceMan;
    28     28           
    29     29           private static global::System.Globalization.CultureInfo resourceCulture;

Changes to tools/install/Resources/System.Data.SQLite.dll.

cannot compute difference between binary files

Changes to tools/install/install.csproj.

     1         -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
            1  +<?xml version="1.0" encoding="utf-8"?>
            2  +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
     2      3     <PropertyGroup>
     3      4       <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     4      5       <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     5      6       <ProductVersion>9.0.30729</ProductVersion>
     6      7       <SchemaVersion>2.0</SchemaVersion>
     7      8       <ProjectGuid>{71EED886-B5BF-488E-A4AA-1403E393D224}</ProjectGuid>
     8      9       <OutputType>WinExe</OutputType>
     9     10       <AppDesignerFolder>Properties</AppDesignerFolder>
    10     11       <RootNamespace>install</RootNamespace>
    11     12       <AssemblyName>install</AssemblyName>
    12     13       <FileUpgradeFlags>
    13     14       </FileUpgradeFlags>
    14         -    <OldToolsVersion>2.0</OldToolsVersion>
           15  +    <OldToolsVersion>3.5</OldToolsVersion>
    15     16       <UpgradeBackupLocation>
    16     17       </UpgradeBackupLocation>
           18  +    <IsWebBootstrapper>true</IsWebBootstrapper>
           19  +    <ApplicationManifest>install.exe.manifest</ApplicationManifest>
           20  +    <ApplicationIcon>install.ico</ApplicationIcon>
           21  +    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
           22  +    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
    17     23       <PublishUrl>http://localhost/install/</PublishUrl>
    18     24       <Install>true</Install>
    19     25       <InstallFrom>Web</InstallFrom>
    20     26       <UpdateEnabled>true</UpdateEnabled>
    21     27       <UpdateMode>Foreground</UpdateMode>
    22     28       <UpdateInterval>7</UpdateInterval>
    23     29       <UpdateIntervalUnits>Days</UpdateIntervalUnits>
    24     30       <UpdatePeriodically>false</UpdatePeriodically>
    25     31       <UpdateRequired>false</UpdateRequired>
    26     32       <MapFileExtensions>true</MapFileExtensions>
    27     33       <ApplicationRevision>0</ApplicationRevision>
    28     34       <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
    29         -    <IsWebBootstrapper>true</IsWebBootstrapper>
    30     35       <UseApplicationTrust>false</UseApplicationTrust>
    31     36       <BootstrapperEnabled>true</BootstrapperEnabled>
    32         -    <ApplicationManifest>install.exe.manifest</ApplicationManifest>
    33         -    <ApplicationIcon>install.ico</ApplicationIcon>
    34     37     </PropertyGroup>
    35     38     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    36     39       <DebugSymbols>true</DebugSymbols>
    37     40       <DebugType>full</DebugType>
    38     41       <Optimize>false</Optimize>
    39     42       <OutputPath>..\..\bin\designer\</OutputPath>
    40     43       <DefineConstants>TRACE;DEBUG</DefineConstants>
    41     44       <ErrorReport>prompt</ErrorReport>
    42     45       <WarningLevel>4</WarningLevel>
    43     46       <PlatformTarget>x86</PlatformTarget>
    44     47       <UseVSHostingProcess>false</UseVSHostingProcess>
           48  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
    45     49     </PropertyGroup>
    46     50     <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    47     51       <DebugType>none</DebugType>
    48     52       <Optimize>true</Optimize>
    49     53       <OutputPath>..\..\bin\designer\</OutputPath>
    50     54       <DefineConstants>TRACE</DefineConstants>
    51     55       <ErrorReport>prompt</ErrorReport>
    52     56       <WarningLevel>4</WarningLevel>
    53     57       <FileAlignment>512</FileAlignment>
    54     58       <PlatformTarget>x86</PlatformTarget>
    55     59       <UseVSHostingProcess>false</UseVSHostingProcess>
           60  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
           61  +  </PropertyGroup>
           62  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
           63  +    <DebugSymbols>true</DebugSymbols>
           64  +    <OutputPath>bin\x86\Debug\</OutputPath>
           65  +    <DefineConstants>TRACE;DEBUG</DefineConstants>
           66  +    <DebugType>full</DebugType>
           67  +    <PlatformTarget>x86</PlatformTarget>
           68  +    <CodeAnalysisLogFile>..\..\bin\designer\install.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
           69  +    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
           70  +    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
           71  +    <UseVSHostingProcess>false</UseVSHostingProcess>
           72  +    <ErrorReport>prompt</ErrorReport>
           73  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
           74  +    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
           75  +    <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
           76  +    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
           77  +    <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
           78  +  </PropertyGroup>
           79  +  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
           80  +    <OutputPath>bin\</OutputPath>
           81  +    <DefineConstants>TRACE</DefineConstants>
           82  +    <Optimize>true</Optimize>
           83  +    <PlatformTarget>x86</PlatformTarget>
           84  +    <CodeAnalysisLogFile>..\..\bin\designer\install.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
           85  +    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
           86  +    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
           87  +    <UseVSHostingProcess>false</UseVSHostingProcess>
           88  +    <ErrorReport>prompt</ErrorReport>
           89  +    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
           90  +    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
           91  +    <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
           92  +    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
           93  +    <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
    56     94     </PropertyGroup>
    57     95     <ItemGroup>
    58     96       <Reference Include="System" />
    59     97       <Reference Include="System.Data" />
    60     98       <Reference Include="System.Deployment" />
    61     99       <Reference Include="System.Drawing" />
    62    100       <Reference Include="System.Windows.Forms" />
................................................................................
    90    128       </EmbeddedResource>
    91    129     </ItemGroup>
    92    130     <ItemGroup>
    93    131       <None Include="app.config" />
    94    132       <None Include="install.exe.manifest" />
    95    133     </ItemGroup>
    96    134     <ItemGroup>
          135  +    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
          136  +      <Visible>False</Visible>
          137  +      <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
          138  +      <Install>false</Install>
          139  +    </BootstrapperPackage>
    97    140       <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
    98    141         <Visible>False</Visible>
    99    142         <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
   100    143         <Install>true</Install>
   101    144       </BootstrapperPackage>
   102    145       <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
   103    146         <Visible>False</Visible>
................................................................................
   104    147         <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
   105    148         <Install>false</Install>
   106    149       </BootstrapperPackage>
   107    150       <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
   108    151         <Visible>False</Visible>
   109    152         <ProductName>.NET Framework 3.5</ProductName>
   110    153         <Install>false</Install>
          154  +    </BootstrapperPackage>
          155  +    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
          156  +      <Visible>False</Visible>
          157  +      <ProductName>.NET Framework 3.5 SP1</ProductName>
          158  +      <Install>false</Install>
   111    159       </BootstrapperPackage>
   112    160     </ItemGroup>
   113    161     <ItemGroup>
   114    162       <Content Include="install.ico" />
   115    163       <None Include="Resources\System.Data.SQLite.dll" />
   116    164     </ItemGroup>
   117    165     <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />

Changes to tools/setup/exe/setup/setup.rc.

    53     53   
    54     54   /////////////////////////////////////////////////////////////////////////////
    55     55   //
    56     56   // Version
    57     57   //
    58     58   
    59     59   VS_VERSION_INFO VERSIONINFO
    60         - FILEVERSION 1,0,66,0
           60  + FILEVERSION 1,0,66,1
    61     61    PRODUCTVERSION 1,0,0,0
    62     62    FILEFLAGSMASK 0x17L
    63     63   #ifdef _DEBUG
    64     64    FILEFLAGS 0x1L
    65     65   #else
    66     66    FILEFLAGS 0x0L
    67     67   #endif
................................................................................
    70     70    FILESUBTYPE 0x0L
    71     71   BEGIN
    72     72       BLOCK "StringFileInfo"
    73     73       BEGIN
    74     74           BLOCK "040904b0"
    75     75           BEGIN
    76     76               VALUE "Comments", "http://sqlite.phxsoftware.com"
    77         -            VALUE "FileDescription", "SQLite ADO.NET 2.0/3.5 Setup"
    78         -            VALUE "FileVersion", "1.0.66.0"
           77  +            VALUE "FileDescription", "SQLite ADO.NET 4.0 Setup"
           78  +            VALUE "FileVersion", "1.0.66.1"
    79     79               VALUE "InternalName", "setup"
    80     80               VALUE "LegalCopyright", "Released to the public domain"
    81     81               VALUE "OriginalFilename", "setup.exe"
    82     82               VALUE "ProductName", "System.Data.SQLite"
    83     83               VALUE "ProductVersion", "1.0"
    84     84           END
    85     85       END

Changes to tools/setup/sqlite_setup.sln.

     1      1   
     2         -Microsoft Visual Studio Solution File, Format Version 10.00
     3         -# Visual Studio 2008
            2  +Microsoft Visual Studio Solution File, Format Version 11.00
            3  +# Visual Studio 2010
     4      4   Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "sqlite", "sqlite_setup.vdproj", "{B2C2F7A0-FD29-4249-9AB1-4A38BDA1AB94}"
     5      5   EndProject
     6         -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "setup", "exe\setup\setup.vcproj", "{BA304689-521B-4E60-A4B7-09558602C1BC}"
     7         -	ProjectSection(ProjectDependencies) = postProject
     8         -		{B2C2F7A0-FD29-4249-9AB1-4A38BDA1AB94} = {B2C2F7A0-FD29-4249-9AB1-4A38BDA1AB94}
     9         -	EndProjectSection
            6  +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "setup", "exe\setup\setup.vcxproj", "{BA304689-521B-4E60-A4B7-09558602C1BC}"
    10      7   EndProject
    11      8   Global
    12      9   	GlobalSection(SolutionConfigurationPlatforms) = preSolution
    13     10   		Debug|Win32 = Debug|Win32
    14     11   		Release|Win32 = Release|Win32
    15     12   	EndGlobalSection
    16     13   	GlobalSection(ProjectConfigurationPlatforms) = postSolution

Changes to tools/setup/sqlite_setup.vdproj.

    10     10   "SccProjectName" = "8:"
    11     11   "SccLocalPath" = "8:"
    12     12   "SccAuxPath" = "8:"
    13     13   "SccProvider" = "8:"
    14     14       "Hierarchy"
    15     15       {
    16     16           "Entry"
           17  +        {
           18  +        "MsmKey" = "8:_010277651E8814DD43DB3B36C8296DDA"
           19  +        "OwnerKey" = "8:_1D4F110D867D9CB4C054CDB9C618E78B"
           20  +        "MsmSig" = "8:_UNDEFINED"
           21  +        }
           22  +        "Entry"
    17     23           {
    18     24           "MsmKey" = "8:_055B2BCD025C40A08F3B155843F41702"
    19     25           "OwnerKey" = "8:_UNDEFINED"
    20     26           "MsmSig" = "8:_UNDEFINED"
    21     27           }
    22     28           "Entry"
    23     29           {
    24         -        "MsmKey" = "8:_17D200EF10AB73D2A0E2D26B279AF28F"
    25         -        "OwnerKey" = "8:_A7448E608040319F6C5E12637881B1F6"
           30  +        "MsmKey" = "8:_121526E7A4D6A84A5865CDAAD11C6CB1"
           31  +        "OwnerKey" = "8:_010277651E8814DD43DB3B36C8296DDA"
    26     32           "MsmSig" = "8:_UNDEFINED"
    27     33           }
    28     34           "Entry"
    29     35           {
    30         -        "MsmKey" = "8:_1A571C82DAEBE73A54E0D256CAAD80DF"
    31         -        "OwnerKey" = "8:_3578C7AADEF926410602B18EDBBEFFF9"
    32         -        "MsmSig" = "8:_UNDEFINED"
    33         -        }
    34         -        "Entry"
    35         -        {
    36         -        "MsmKey" = "8:_2220AA4B8FC0414FAC08D27E052E7953"
    37         -        "OwnerKey" = "8:_UNDEFINED"
    38         -        "MsmSig" = "8:_UNDEFINED"
    39         -        }
    40         -        "Entry"
    41         -        {
    42         -        "MsmKey" = "8:_244D4945EA335F5E4E54085BFD020CC1"
    43         -        "OwnerKey" = "8:_A7448E608040319F6C5E12637881B1F6"
           36  +        "MsmKey" = "8:_1D4F110D867D9CB4C054CDB9C618E78B"
           37  +        "OwnerKey" = "8:_CD3CE5CDAB13405EA6EAAADC95F88D2E"
    44     38           "MsmSig" = "8:_UNDEFINED"
    45     39           }
    46     40           "Entry"
    47     41           {
    48     42           "MsmKey" = "8:_26E74AC417994018832F9B82462AA3AF"
    49     43           "OwnerKey" = "8:_UNDEFINED"
    50     44           "MsmSig" = "8:_UNDEFINED"
................................................................................
    53     47           {
    54     48           "MsmKey" = "8:_2C7EDFF06B61482393D94E3A63D90113"
    55     49           "OwnerKey" = "8:_UNDEFINED"
    56     50           "MsmSig" = "8:_UNDEFINED"
    57     51           }
    58     52           "Entry"
    59     53           {
    60         -        "MsmKey" = "8:_2F1B8EFE95EB431689C8DA9D5BD6B27C"
    61         -        "OwnerKey" = "8:_UNDEFINED"
    62         -        "MsmSig" = "8:_UNDEFINED"
    63         -        }
    64         -        "Entry"
    65         -        {
    66     54           "MsmKey" = "8:_33349D46CCFB4E16A3F7C6CE1FE6F6C9"
    67     55           "OwnerKey" = "8:_UNDEFINED"
    68     56           "MsmSig" = "8:_UNDEFINED"
    69     57           }
    70         -        "Entry"
    71         -        {
    72         -        "MsmKey" = "8:_3578C7AADEF926410602B18EDBBEFFF9"
    73         -        "OwnerKey" = "8:_244D4945EA335F5E4E54085BFD020CC1"
    74         -        "MsmSig" = "8:_UNDEFINED"
    75         -        }
    76     58           "Entry"
    77     59           {
    78     60           "MsmKey" = "8:_40DFF08BA903482D807E715A041CA8B1"
    79     61           "OwnerKey" = "8:_UNDEFINED"
    80     62           "MsmSig" = "8:_UNDEFINED"
    81     63           }
    82     64           "Entry"
    83     65           {
    84         -        "MsmKey" = "8:_40F352185F3B41A485F42BFC64BF9162"
    85         -        "OwnerKey" = "8:_UNDEFINED"
    86         -        "MsmSig" = "8:_UNDEFINED"
    87         -        }
    88         -        "Entry"
    89         -        {
    90         -        "MsmKey" = "8:_5E1053CD325EBB535F3F247A35B38F2F"
           66  +        "MsmKey" = "8:_428546FA993CAEB944F36668D1218916"
    91     67           "OwnerKey" = "8:_CD3CE5CDAB13405EA6EAAADC95F88D2E"
    92     68           "MsmSig" = "8:_UNDEFINED"
    93     69           }
    94     70           "Entry"
    95     71           {
    96         -        "MsmKey" = "8:_5E1053CD325EBB535F3F247A35B38F2F"
    97         -        "OwnerKey" = "8:_3578C7AADEF926410602B18EDBBEFFF9"
    98         -        "MsmSig" = "8:_UNDEFINED"
    99         -        }
   100         -        "Entry"
   101         -        {
   102         -        "MsmKey" = "8:_5E1053CD325EBB535F3F247A35B38F2F"
   103         -        "OwnerKey" = "8:_244D4945EA335F5E4E54085BFD020CC1"
   104         -        "MsmSig" = "8:_UNDEFINED"
   105         -        }
   106         -        "Entry"
   107         -        {
   108         -        "MsmKey" = "8:_5E1053CD325EBB535F3F247A35B38F2F"
   109         -        "OwnerKey" = "8:_A7448E608040319F6C5E12637881B1F6"
   110         -        "MsmSig" = "8:_UNDEFINED"
   111         -        }
   112         -        "Entry"
   113         <